Uses of Class
org.la4j.matrix.SparseMatrix
-
Packages that use SparseMatrix Package Description org.la4j org.la4j.matrix org.la4j.matrix.sparse org.la4j.operation org.la4j.operation.inplace org.la4j.operation.ooplace -
-
Uses of SparseMatrix in org.la4j
Methods in org.la4j that return SparseMatrix Modifier and Type Method Description SparseMatrixMatrix. toSparseMatrix()Converts this matrix into a sparse matrix. -
Uses of SparseMatrix in org.la4j.matrix
Subclasses of SparseMatrix in org.la4j.matrix Modifier and Type Class Description classColumnMajorSparseMatrixclassRowMajorSparseMatrixMethods in org.la4j.matrix that return SparseMatrix Modifier and Type Method Description static SparseMatrixSparseMatrix. block(Matrix a, Matrix b, Matrix c, Matrix d)static SparseMatrixSparseMatrix. diagonal(int size, double diagonal)static SparseMatrixSparseMatrix. from1DArray(int rows, int columns, double[] array)Creates a newSparseMatrixfrom the given 1Darraywith compressing (copying) the underlying array.static SparseMatrixSparseMatrix. from2DArray(double[][] array)Creates a newSparseMatrixfrom the given 2Darraywith compressing (copying) the underlying array.static SparseMatrixSparseMatrix. fromCSV(java.lang.String csv)ParsesSparseMatrixfrom the given CSV string.static SparseMatrixSparseMatrix. fromMatrixMarket(java.lang.String mm)ParsesSparseMatrixfrom the given Matrix Market string.static SparseMatrixSparseMatrix. identity(int size)Creates an identitySparseMatrixof the givensize.static SparseMatrixSparseMatrix. random(int rows, int columns, double density, java.util.Random random)static SparseMatrixSparseMatrix. randomSymmetric(int size, double density, java.util.Random random)Creates a random symmetricSparseMatrixof the givensize.static SparseMatrixSparseMatrix. zero(int rows, int columns)static SparseMatrixSparseMatrix. zero(int rows, int columns, int capacity) -
Uses of SparseMatrix in org.la4j.matrix.sparse
Subclasses of SparseMatrix in org.la4j.matrix.sparse Modifier and Type Class Description classCCSMatrixThis is a CCS (Compressed Column Storage) matrix class.classCRSMatrixThis is a CRS (Compressed Row Storage) matrix class. -
Uses of SparseMatrix in org.la4j.operation
Methods in org.la4j.operation with parameters of type SparseMatrix Modifier and Type Method Description abstract RSimpleMatrixMatrixOperation. applySimple(DenseMatrix a, SparseMatrix b)abstract RSimpleMatrixMatrixOperation. applySimple(SparseMatrix a, DenseMatrix b)abstract RSimpleMatrixMatrixOperation. applySimple(SparseMatrix a, SparseMatrix b)abstract RSymmetricMatrixMatrixOperation. applySymmetric(DenseMatrix a, SparseMatrix b)abstract RSymmetricMatrixMatrixOperation. applySymmetric(SparseMatrix a, SparseMatrix b) -
Uses of SparseMatrix in org.la4j.operation.inplace
Methods in org.la4j.operation.inplace with parameters of type SparseMatrix Modifier and Type Method Description MatrixInPlaceCopyMatrixToMatrix. applySimple(DenseMatrix a, SparseMatrix b)MatrixInPlaceCopyMatrixToMatrix. applySimple(SparseMatrix a, DenseMatrix b)MatrixInPlaceCopyMatrixToMatrix. applySimple(SparseMatrix a, SparseMatrix b)private MatrixInPlaceCopyMatrixToMatrix. fromSparseToMatrix(SparseMatrix a, Matrix b) -
Uses of SparseMatrix in org.la4j.operation.ooplace
Methods in org.la4j.operation.ooplace with parameters of type SparseMatrix Modifier and Type Method Description MatrixOoPlaceMatricesSubtraction. applySimple(DenseMatrix a, SparseMatrix b)MatrixOoPlaceMatricesSubtraction. applySimple(SparseMatrix a, DenseMatrix b)MatrixOoPlaceMatricesSubtraction. applySimple(SparseMatrix a, SparseMatrix b)MatrixOoPlaceMatricesAddition. applySymmetric(DenseMatrix a, SparseMatrix b)MatrixOoPlaceMatricesAddition. applySymmetric(SparseMatrix a, SparseMatrix b)MatrixOoPlaceMatrixHadamardProduct. applySymmetric(DenseMatrix a, SparseMatrix b)MatrixOoPlaceMatrixHadamardProduct. applySymmetric(SparseMatrix a, SparseMatrix b)
-