C API Documentation
|
Public Attributes | |
unsigned | m |
unsigned | n |
unsigned | nnz |
double * | values |
unsigned * | colidx |
unsigned * | rowptr |
unsigned* rr::csr_matrix_t::colidx |
array of column indices of the stored (nonzero) entries of the matrix, length: nnz
unsigned rr::csr_matrix_t::m |
number of rows
unsigned rr::csr_matrix_t::n |
number of columns
unsigned rr::csr_matrix_t::nnz |
number of stored (nonzero) entries.
unsigned* rr::csr_matrix_t::rowptr |
array of indices into the colidx and values arrays, for each column, length: m + 1
This CSR matrix has the property that even rows with zero non-zero values have an entry in this array, if the i'th row has zero no values, then rowptr[j] == rowptr[j+1]. This property makes it easy to set values.
double* rr::csr_matrix_t::values |
array of stored (nonzero) entries of the matrix length: nnz