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 SparseMatrix
Matrix. 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 class
ColumnMajorSparseMatrix
class
RowMajorSparseMatrix
Methods in org.la4j.matrix that return SparseMatrix Modifier and Type Method Description static SparseMatrix
SparseMatrix. block(Matrix a, Matrix b, Matrix c, Matrix d)
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
SparseMatrix. fromCSV(java.lang.String csv)
ParsesSparseMatrix
from the given CSV string.static SparseMatrix
SparseMatrix. fromMatrixMarket(java.lang.String mm)
ParsesSparseMatrix
from the given Matrix Market string.static SparseMatrix
SparseMatrix. identity(int size)
Creates an identitySparseMatrix
of the givensize
.static SparseMatrix
SparseMatrix. random(int rows, int columns, double density, java.util.Random random)
static SparseMatrix
SparseMatrix. randomSymmetric(int size, double density, java.util.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 Modifier and Type Class Description class
CCSMatrix
This is a CCS (Compressed Column Storage) matrix class.class
CRSMatrix
This 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 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 SparseMatrix Modifier and Type Method Description Matrix
InPlaceCopyMatrixToMatrix. applySimple(DenseMatrix a, SparseMatrix b)
Matrix
InPlaceCopyMatrixToMatrix. applySimple(SparseMatrix a, DenseMatrix b)
Matrix
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 SparseMatrix Modifier and Type Method Description Matrix
OoPlaceMatricesSubtraction. applySimple(DenseMatrix a, SparseMatrix b)
Matrix
OoPlaceMatricesSubtraction. applySimple(SparseMatrix a, DenseMatrix b)
Matrix
OoPlaceMatricesSubtraction. applySimple(SparseMatrix a, SparseMatrix b)
Matrix
OoPlaceMatricesAddition. applySymmetric(DenseMatrix a, SparseMatrix b)
Matrix
OoPlaceMatricesAddition. applySymmetric(SparseMatrix a, SparseMatrix b)
Matrix
OoPlaceMatrixHadamardProduct. applySymmetric(DenseMatrix a, SparseMatrix b)
Matrix
OoPlaceMatrixHadamardProduct. applySymmetric(SparseMatrix a, SparseMatrix b)
-