Uses of Class
org.la4j.matrix.sparse.CCSMatrix
Packages that use CCSMatrix
-
Uses of CCSMatrix in org.la4j
Modifier and TypeFieldDescriptionstatic final MatrixFactory
<CCSMatrix> Matrices.CCS
A matrix factory that produces zeroCCSMatrix
.static final MatrixFactory
<CCSMatrix> Matrices.SPARSE_COLUMN_MAJOR
A default factory for sparse column-major matrices. -
Uses of CCSMatrix in org.la4j.matrix.sparse
Methods in org.la4j.matrix.sparse that return CCSMatrixModifier and TypeMethodDescriptionstatic CCSMatrix
static CCSMatrix
CCSMatrix.diagonal
(int size, double diagonal) static CCSMatrix
CCSMatrix.from1DArray
(int rows, int columns, double[] array) Creates a newCCSMatrix
from the given 1Darray
with compressing (copying) the underlying array.static CCSMatrix
CCSMatrix.from2DArray
(double[][] array) Creates a newCCSMatrix
from the given 2Darray
with compressing (copying) the underlying array.static CCSMatrix
CCSMatrix.fromBinary
(byte[] array) DecodesCCSMatrix
from the given bytearray
.static CCSMatrix
ParsesCCSMatrix
from the given CSV string.static CCSMatrix
CCSMatrix.fromMatrixMarket
(String mm) ParsesCCSMatrix
from the given Matrix Market string.static CCSMatrix
CCSMatrix.identity
(int size) Creates an identityCCSMatrix
of the givensize
.static CCSMatrix
static CCSMatrix
CCSMatrix.randomSymmetric
(int size, double density, Random random) Creates a random symmetricCCSMatrix
of the givensize
.static CCSMatrix
CCSMatrix.zero
(int rows, int columns) static CCSMatrix
CCSMatrix.zero
(int rows, int columns, int capacity)