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) |
int |
rowSize() |
void |
set(int x,
int y,
double v) |
int |
storageMode() |
readExternal, writeExternal
isArrayBased, isDense, isDistributed, isRandomAccess, isSequentialAccess
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()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019