@Deprecated public class DenseMatrixStorage extends Object implements MatrixStorage
MatrixStorage implementation.| Constructor and Description |
|---|
DenseMatrixStorage()
Deprecated.
|
DenseMatrixStorage(double[][] data)
Deprecated.
|
DenseMatrixStorage(double[][] data,
int stoMode)
Deprecated.
|
DenseMatrixStorage(double[] data,
int rows)
Deprecated.
|
DenseMatrixStorage(double[] data,
int rows,
int stoMode)
Deprecated.
|
DenseMatrixStorage(int rows,
int cols)
Deprecated.
|
DenseMatrixStorage(int rows,
int cols,
int stoMode)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
accessMode()
Deprecated.
|
int |
columnSize()
Deprecated.
|
double[] |
data()
Deprecated.
Gets underlying data, if
StorageOpsMetrics.isArrayBased() returns false this method return
copy of data. |
boolean |
equals(Object o)
Deprecated.
|
double |
get(int x,
int y)
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isArrayBased()
Deprecated.
Checks if implementation is based on Java arrays.
|
boolean |
isDense()
Deprecated.
Checks if this implementation should be considered dense so that it explicitly
represents every value.
|
boolean |
isDistributed()
Deprecated.
Checks whether implementation is JVM-local or distributed (multi-JVM).
|
void |
readExternal(ObjectInput in)
Deprecated.
|
int |
rowSize()
Deprecated.
|
void |
set(int x,
int y,
double v)
Deprecated.
|
int |
storageMode()
Deprecated.
|
void |
writeExternal(ObjectOutput out)
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisNumericdestroypublic DenseMatrixStorage()
public DenseMatrixStorage(int rows,
int cols)
rows - Amount of rows in the matrix.cols - Amount of columns in the matrix.public DenseMatrixStorage(int rows,
int cols,
int stoMode)
public DenseMatrixStorage(double[][] data,
int stoMode)
data - Backing data array.public DenseMatrixStorage(double[][] data)
data - Backing data array.public DenseMatrixStorage(double[] data,
int rows,
int stoMode)
data - Backing data array.public DenseMatrixStorage(double[] data,
int rows)
data - Backing data array.public double get(int x,
int y)
get in interface MatrixStoragex - Matrix row index.y - Matrix column index.public boolean isDense()
isDense in interface StorageOpsMetricspublic boolean isDistributed()
isDistributed in interface StorageOpsMetricspublic void set(int x,
int y,
double v)
set in interface MatrixStoragex - Matrix row index.y - Matrix column index.v - Value to set at given row and column.public int columnSize()
columnSize in interface MatrixStoragepublic int rowSize()
rowSize in interface MatrixStoragepublic boolean isArrayBased()
isArrayBased in interface StorageOpsMetricspublic double[] data()
StorageOpsMetrics.isArrayBased() returns false this method return
copy of data. The data must be adapted for Blas.data in interface MatrixStorageStorageOpsMetrics.isArrayBased()public int storageMode()
storageMode in interface MatrixStorageStorageConstantspublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic int accessMode()
accessMode in interface MatrixStorageStorageConstants
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.38 Release Date : September 22 2026