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 classCSRSparseMatrixThe Compressed Sparse Row (CSR) format for sparse matrix has this representation:(value, col_ind, row_ptr).classDOKSparseMatrixThe Dictionary Of Key (DOK) format for sparse matrix uses the coordinates of non-zero entries in the matrix as keys.classLILSparseMatrixThe 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 SparseMatrixCSRSparseMatrix. subMatrix(int rowFrom, int rowTo, int colFrom, int colTo)SparseMatrixDOKSparseMatrix. subMatrix(int rowFrom, int rowTo, int colFrom, int colTo)SparseMatrixSparseMatrix. 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 booleanSparseMatrixUtils. equals(SparseMatrix A, SparseMatrix B)Checks if two SparseMatrixs are equal.static StringSparseMatrixUtils. 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 SparseMatrixMatrixFactory. cbind(SparseMatrix... matrices)Combines an array of sparse matrices by columns.static SparseMatrixMatrixFactory. cbind(SparseVector... vectors)Combines an array of sparse vectors by columns and returns a CSR sparse matrix.static SparseMatrixMatrixFactory. rbind(SparseMatrix... matrices)Combines an array of sparse matrices by rows.static SparseMatrixMatrixFactory. rbind(SparseVector... vectors)Combines an array of sparse vectors by rows and returns a sparse matrix.static SparseMatrixMatrixFactory. subMatrix(SparseMatrix A, int[] rows, int[] cols)Constructs a sub-matrix from the intersections of rows and columns of a sparse matrix.static SparseMatrixMatrixFactory. 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 SparseMatrixMatrixFactory. cbind(SparseMatrix... matrices)Combines an array of sparse matrices by columns.static SparseMatrixMatrixFactory. rbind(SparseMatrix... matrices)Combines an array of sparse matrices by rows.static SparseMatrixMatrixFactory. subMatrix(SparseMatrix A, int[] rows, int[] cols)Constructs a sub-matrix from the intersections of rows and columns of a sparse matrix.static SparseMatrixMatrixFactory. 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 SparseVectorVectorFactory. diagonal(SparseMatrix A)Gets the diagonal of a sparse matrix as a sparse vector.static SparseVectorVectorFactory. subDiagonal(SparseMatrix A)Gets the sub-diagonal of a sparse matrix as a sparse vector.static SparseVectorVectorFactory. superDiagonal(SparseMatrix A)Gets the super-diagonal of a sparse matrix as a sparse vector.
-