public interface MatrixStorage extends Externalizable, StorageOpsMetrics, Destroyable
Matrix
.Modifier and Type | Method and Description |
---|---|
int |
accessMode() |
int |
columnSize() |
default double[] |
data()
Gets underlying data, if
StorageOpsMetrics.isArrayBased() returns false this method return
copy of data. |
double |
get(int x,
int y) |
default boolean |
isNumeric() |
int |
rowSize() |
void |
set(int x,
int y,
double v) |
int |
storageMode() |
readExternal, writeExternal
isArrayBased, isDense, isDistributed
destroy
double get(int x, int y)
x
- Matrix row index.y
- Matrix column index.void set(int x, int y, double v)
x
- Matrix row index.y
- Matrix column index.v
- Value to set at given row and column.int columnSize()
int rowSize()
int storageMode()
StorageConstants
int accessMode()
StorageConstants
default double[] data()
StorageOpsMetrics.isArrayBased()
returns false
this method return
copy of data. The data must be adapted for Blas
.StorageOpsMetrics.isArrayBased()
default boolean isNumeric()
isNumeric
in interface StorageOpsMetrics
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024