public final class SparseMatrix
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int[][] |
_colIndices |
long[][] |
_rowHeaders |
float[][] |
_sparseData |
static int |
MAX_DIM
Maximum size of one dimension of SPARSE matrix with data.
|
| Constructor and Description |
|---|
SparseMatrix(float[][] sparseData,
long[][] rowIndices,
int[][] colIndices)
Constructs a
SparseMatrix instance |
public static int MAX_DIM
public final float[][] _sparseData
public final long[][] _rowHeaders
public final int[][] _colIndices
public SparseMatrix(float[][] sparseData,
long[][] rowIndices,
int[][] colIndices)
SparseMatrix instancesparseData - Non-zero data of a sparse matrixrowIndices - Indices to elements in sparseData rows begin withcolIndices - Column indices of elements in sparseData