Uses of Class
org.la4j.matrix.sparse.CRSMatrix
Packages that use CRSMatrix
-
Uses of CRSMatrix in org.la4j
Modifier and TypeFieldDescriptionstatic final MatrixFactory<CRSMatrix> Matrices.CRSA matrix factory that produces zeroCRSMatrix.static final MatrixFactory<CRSMatrix> Matrices.SPARSEA default factory for sparse matrices.static final MatrixFactory<CRSMatrix> Matrices.SPARSE_ROW_MAJORA default factory for sparse row-major matrices. -
Uses of CRSMatrix in org.la4j.matrix.sparse
Methods in org.la4j.matrix.sparse that return CRSMatrixModifier and TypeMethodDescriptionstatic CRSMatrixstatic CRSMatrixCRSMatrix.diagonal(int size, double diagonal) static CRSMatrixCRSMatrix.from1DArray(int rows, int columns, double[] array) Creates a newCRSMatrixfrom the given 1Darraywith compressing (copying) the underlying array.static CRSMatrixCRSMatrix.from2DArray(double[][] array) Creates a newCRSMatrixfrom the given 2Darraywith compressing (copying) the underlying array.static CRSMatrixCRSMatrix.fromBinary(byte[] array) DecodesCRSMatrixfrom the given bytearray.static CRSMatrixParsesCRSMatrixfrom the given CSV string.static CRSMatrixCRSMatrix.fromMatrixMarket(String mm) ParsesCRSMatrixfrom the given Matrix Market string.static CRSMatrixCRSMatrix.identity(int size) Creates an identityCRSMatrixof the givensize.static CRSMatrixstatic CRSMatrixCRSMatrix.randomSymmetric(int size, double density, Random random) Creates a random symmetricCRSMatrixof the givensize.static CRSMatrixCRSMatrix.zero(int rows, int columns) static CRSMatrixCRSMatrix.zero(int rows, int columns, int capacity)