Uses of Interface
dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse.SparseMatrix
-
Packages that use SparseMatrix Package Description dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse dev.nm.algebra.linear.matrix.doubles.operation dev.nm.algebra.linear.vector.doubles.operation -
-
Uses of SparseMatrix in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse
Classes in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse that implement SparseMatrix Modifier and Type Class Description class
CSRSparseMatrix
The Compressed Sparse Row (CSR) format for sparse matrix has this representation:(value, col_ind, row_ptr)
.class
DOKSparseMatrix
The Dictionary Of Key (DOK) format for sparse matrix uses the coordinates of non-zero entries in the matrix as keys.class
LILSparseMatrix
The list of lists (LIL) format for sparse matrix stores one list per row, where each entry stores a column index and value.Methods in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse that return SparseMatrix Modifier and Type Method Description SparseMatrix
CSRSparseMatrix. subMatrix(int rowFrom, int rowTo, int colFrom, int colTo)
SparseMatrix
DOKSparseMatrix. subMatrix(int rowFrom, int rowTo, int colFrom, int colTo)
SparseMatrix
SparseMatrix. subMatrix(int rowFrom, int rowTo, int colFrom, int colTo)
Extracts a sub-matrix given the bounds of row and column indices (inclusive).Methods in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse with parameters of type SparseMatrix Modifier and Type Method Description static boolean
SparseMatrixUtils. equals(SparseMatrix A, SparseMatrix B)
Checks if two SparseMatrixs are equal.static String
SparseMatrixUtils. toString(SparseMatrix A)
Returns a string representation of a SparseMatrix. -
Uses of SparseMatrix in dev.nm.algebra.linear.matrix.doubles.operation
Methods in dev.nm.algebra.linear.matrix.doubles.operation that return SparseMatrix Modifier and Type Method Description static SparseMatrix
MatrixFactory. cbind(SparseMatrix... matrices)
Combines an array of sparse matrices by columns.static SparseMatrix
MatrixFactory. cbind(SparseVector... vectors)
Combines an array of sparse vectors by columns and returns a CSR sparse matrix.static SparseMatrix
MatrixFactory. rbind(SparseMatrix... matrices)
Combines an array of sparse matrices by rows.static SparseMatrix
MatrixFactory. rbind(SparseVector... vectors)
Combines an array of sparse vectors by rows and returns a sparse matrix.static SparseMatrix
MatrixFactory. subMatrix(SparseMatrix A, int[] rows, int[] cols)
Constructs a sub-matrix from the intersections of rows and columns of a sparse matrix.static SparseMatrix
MatrixFactory. subMatrix(SparseMatrix A, int rowFrom, int rowTo, int colFrom, int colTo)
Constructs a sub-matrix from the four corners of a sparse matrix.Methods in dev.nm.algebra.linear.matrix.doubles.operation with parameters of type SparseMatrix Modifier and Type Method Description static SparseMatrix
MatrixFactory. cbind(SparseMatrix... matrices)
Combines an array of sparse matrices by columns.static SparseMatrix
MatrixFactory. rbind(SparseMatrix... matrices)
Combines an array of sparse matrices by rows.static SparseMatrix
MatrixFactory. subMatrix(SparseMatrix A, int[] rows, int[] cols)
Constructs a sub-matrix from the intersections of rows and columns of a sparse matrix.static SparseMatrix
MatrixFactory. subMatrix(SparseMatrix A, int rowFrom, int rowTo, int colFrom, int colTo)
Constructs a sub-matrix from the four corners of a sparse matrix. -
Uses of SparseMatrix in dev.nm.algebra.linear.vector.doubles.operation
Methods in dev.nm.algebra.linear.vector.doubles.operation with parameters of type SparseMatrix Modifier and Type Method Description static SparseVector
VectorFactory. diagonal(SparseMatrix A)
Gets the diagonal of a sparse matrix as a sparse vector.static SparseVector
VectorFactory. subDiagonal(SparseMatrix A)
Gets the sub-diagonal of a sparse matrix as a sparse vector.static SparseVector
VectorFactory. superDiagonal(SparseMatrix A)
Gets the super-diagonal of a sparse matrix as a sparse vector.
-