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.CCSA matrix factory that produces zeroCCSMatrix.static final MatrixFactory<CCSMatrix> Matrices.SPARSE_COLUMN_MAJORA 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 CCSMatrixstatic CCSMatrixCCSMatrix.diagonal(int size, double diagonal) static CCSMatrixCCSMatrix.from1DArray(int rows, int columns, double[] array) Creates a newCCSMatrixfrom the given 1Darraywith compressing (copying) the underlying array.static CCSMatrixCCSMatrix.from2DArray(double[][] array) Creates a newCCSMatrixfrom the given 2Darraywith compressing (copying) the underlying array.static CCSMatrixCCSMatrix.fromBinary(byte[] array) DecodesCCSMatrixfrom the given bytearray.static CCSMatrixParsesCCSMatrixfrom the given CSV string.static CCSMatrixCCSMatrix.fromMatrixMarket(String mm) ParsesCCSMatrixfrom the given Matrix Market string.static CCSMatrixCCSMatrix.identity(int size) Creates an identityCCSMatrixof the givensize.static CCSMatrixstatic CCSMatrixCCSMatrix.randomSymmetric(int size, double density, Random random) Creates a random symmetricCCSMatrixof the givensize.static CCSMatrixCCSMatrix.zero(int rows, int columns) static CCSMatrixCCSMatrix.zero(int rows, int columns, int capacity)