Uses of Class
org.la4j.matrix.SparseMatrix
Packages that use SparseMatrix
Package
Description
-
Uses of SparseMatrix in org.la4j
Methods in org.la4j that return SparseMatrixModifier and TypeMethodDescriptionMatrix.toSparseMatrix()Converts this matrix into a sparse matrix. -
Uses of SparseMatrix in org.la4j.matrix
Subclasses of SparseMatrix in org.la4j.matrixMethods in org.la4j.matrix that return SparseMatrixModifier and TypeMethodDescriptionstatic SparseMatrixstatic 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 SparseMatrixParsesSparseMatrixfrom the given CSV string.static SparseMatrixSparseMatrix.fromMatrixMarket(String mm) ParsesSparseMatrixfrom the given Matrix Market string.static SparseMatrixSparseMatrix.identity(int size) Creates an identitySparseMatrixof the givensize.static SparseMatrixstatic SparseMatrixSparseMatrix.randomSymmetric(int size, double density, 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 -
Uses of SparseMatrix in org.la4j.operation
Methods in org.la4j.operation with parameters of type SparseMatrixModifier and TypeMethodDescriptionabstract 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 SparseMatrixModifier and TypeMethodDescriptionInPlaceCopyMatrixToMatrix.applySimple(DenseMatrix a, SparseMatrix b) InPlaceCopyMatrixToMatrix.applySimple(SparseMatrix a, DenseMatrix b) InPlaceCopyMatrixToMatrix.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 SparseMatrixModifier and TypeMethodDescriptionOoPlaceMatricesSubtraction.applySimple(DenseMatrix a, SparseMatrix b) OoPlaceMatricesSubtraction.applySimple(SparseMatrix a, DenseMatrix b) OoPlaceMatricesSubtraction.applySimple(SparseMatrix a, SparseMatrix b) OoPlaceMatricesAddition.applySymmetric(DenseMatrix a, SparseMatrix b) OoPlaceMatricesAddition.applySymmetric(SparseMatrix a, SparseMatrix b) OoPlaceMatrixHadamardProduct.applySymmetric(DenseMatrix a, SparseMatrix b) OoPlaceMatrixHadamardProduct.applySymmetric(SparseMatrix a, SparseMatrix b)