|
ADS
Algorithms and Data Structures
|
A sparse matrix in compressed sparse rows (CSR), beyond the book. More...
Files | |
| file | ADS/numeric/CsrMatrix.h |
| A sparse matrix in compressed sparse rows (CSR), beyond the book: the nonzeros of each row, by column, in one vector of values and one of columns, and the place where each row begins in a vector of \( m + 1 \) offsets, \( 12 \, \mathit{nnz} + 8 m \) bytes for doubles, read in order by the product with a vector instead of the walk of the orthogonal lists of SparseMatrix [see SparseMatrix.h], whose nodes are scattered. | |
Classes | |
| class | ADS::BasicCsrMatrix< T, I, P > |
| a sparse \( m \times n \) matrix of values T in compressed sparse rows, the columns of the type I and the offsets of the rows of the type P More... | |
Typedefs | |
| using | ADS::CsrMatrix = BasicCsrMatrix<> |
| the matrix of doubles of 32-bit columns and std::size_t offsets | |
A sparse matrix in compressed sparse rows (CSR), beyond the book.
The definitions, the invariants and the costs of the area are in Theory of numerical algorithms.
| using ADS::CsrMatrix = BasicCsrMatrix<> |
the matrix of doubles of 32-bit columns and std::size_t offsets