Uses of Class
dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse.SparseMatrix.Entry
-
Packages that use SparseMatrix.Entry Package Description dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse -
-
Uses of SparseMatrix.Entry in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse
Fields in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse with type parameters of type SparseMatrix.Entry Modifier and Type Field Description static Comparator<SparseMatrix.Entry>
SparseMatrix.Entry. ROW_MAJOR_ORDER
ThisComparator
sorts the matrix coordinates first from top to bottom (rows), and then from left to right (columns).Methods in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse that return SparseMatrix.Entry Modifier and Type Method Description static SparseMatrix.Entry[]
SparseMatrixUtils. toEntryArray(int[] rowIndices, int[] columnIndices, double[] values)
Methods in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse that return types with arguments of type SparseMatrix.Entry Modifier and Type Method Description List<SparseMatrix.Entry>
CSRSparseMatrix. getEntryList()
List<SparseMatrix.Entry>
DOKSparseMatrix. getEntryList()
List<SparseMatrix.Entry>
LILSparseMatrix. getEntryList()
List<SparseMatrix.Entry>
SparseMatrix. getEntryList()
Exports the non-zero values in the matrix as a list ofSparseMatrix.Entry
s.static List<SparseMatrix.Entry>
SparseMatrixUtils. toEntryList(int[] rowIndices, int[] columnIndices, double[] values)
Methods in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse with parameters of type SparseMatrix.Entry Modifier and Type Method Description static int[]
SparseMatrixUtils. sortInColumnOrder(SparseMatrix.Entry[] entries, int nCols)
Sorts an array of sparse matrix entries in column order (row indices in the same row can be in arbitrary order) in linear time.static int[]
SparseMatrixUtils. sortInRowColumnOrder(SparseMatrix.Entry[] entries, int nRows, int nCols, boolean checkRange, boolean checkDuplicate)
Sorts an array of sparse matrix entries in row-column order in linear time.static int[]
SparseMatrixUtils. sortInRowOrder(SparseMatrix.Entry[] entries, int nRows)
Sorts an array of sparse matrix entries in row order (column indices in the same row can be in arbitrary order) in linear time.Method parameters in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse with type arguments of type SparseMatrix.Entry Modifier and Type Method Description static int[]
SparseMatrixUtils. countEntriesInEachColumn(List<SparseMatrix.Entry> entries, int nCols)
Counts the number of entries in each column.static int[]
SparseMatrixUtils. countEntriesInEachRow(List<SparseMatrix.Entry> entries, int nRows)
Counts the number of entries in each row.static int[]
SparseMatrixUtils. sortInColumnOrder(List<SparseMatrix.Entry> entries, int nCols)
Sorts a list of sparse matrix entries in column order (row indices in the same row can be in arbitrary order) in linear time.static int[]
SparseMatrixUtils. sortInRowColumnOrder(List<SparseMatrix.Entry> entries, int nRows, int nCols, boolean checkRange, boolean checkDuplicate)
Sorts a list of sparse matrix entries in row-column order in linear time.static int[]
SparseMatrixUtils. sortInRowOrder(List<SparseMatrix.Entry> entries, int nRows)
Sorts a list of sparse matrix entries in row order (column indices in the same row can be in arbitrary order) in linear time.Constructor parameters in dev.nm.algebra.linear.matrix.doubles.matrixtype.sparse with type arguments of type SparseMatrix.Entry Constructor Description CSRSparseMatrix(int nRows, int nCols, List<SparseMatrix.Entry> entries)
Constructs a sparse matrix in CSR format by a list of non-zero entries.CSRSparseMatrix(int nRows, int nCols, List<SparseMatrix.Entry> entryList, boolean areEntriesSorted)
Constructs a sparse matrix in CSR format by a list of non-zero entries.DOKSparseMatrix(int nRows, int nCols, List<SparseMatrix.Entry> entries)
Construct a sparse matrix in DOK format by a list of non-zero entries.LILSparseMatrix(int nRows, int nCols, List<SparseMatrix.Entry> entries)
Construct a sparse matrix in LIL format by a list of non-zero entries.
-