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 SparseMatrix
static SparseMatrix
SparseMatrix.diagonal
(int size, double diagonal) static SparseMatrix
SparseMatrix.from1DArray
(int rows, int columns, double[] array) Creates a newSparseMatrix
from the given 1Darray
with compressing (copying) the underlying array.static SparseMatrix
SparseMatrix.from2DArray
(double[][] array) Creates a newSparseMatrix
from the given 2Darray
with compressing (copying) the underlying array.static SparseMatrix
ParsesSparseMatrix
from the given CSV string.static SparseMatrix
SparseMatrix.fromMatrixMarket
(String mm) ParsesSparseMatrix
from the given Matrix Market string.static SparseMatrix
SparseMatrix.identity
(int size) Creates an identitySparseMatrix
of the givensize
.static SparseMatrix
static SparseMatrix
SparseMatrix.randomSymmetric
(int size, double density, Random random) Creates a random symmetricSparseMatrix
of the givensize
.static SparseMatrix
SparseMatrix.zero
(int rows, int columns) static SparseMatrix
SparseMatrix.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 R
SimpleMatrixMatrixOperation.applySimple
(DenseMatrix a, SparseMatrix b) abstract R
SimpleMatrixMatrixOperation.applySimple
(SparseMatrix a, DenseMatrix b) abstract R
SimpleMatrixMatrixOperation.applySimple
(SparseMatrix a, SparseMatrix b) abstract R
SymmetricMatrixMatrixOperation.applySymmetric
(DenseMatrix a, SparseMatrix b) abstract R
SymmetricMatrixMatrixOperation.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 Matrix
InPlaceCopyMatrixToMatrix.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)