C API Documentation
Public Attributes | List of all members
rr::csr_matrix_t Struct Reference

Public Attributes

unsigned m
 
unsigned n
 
unsigned nnz
 
double * values
 
unsigned * colidx
 
unsigned * rowptr
 

Member Data Documentation

◆ colidx

unsigned* rr::csr_matrix_t::colidx

array of column indices of the stored (nonzero) entries of the matrix, length: nnz

◆ m

unsigned rr::csr_matrix_t::m

number of rows

◆ n

unsigned rr::csr_matrix_t::n

number of columns

◆ nnz

unsigned rr::csr_matrix_t::nnz

number of stored (nonzero) entries.

◆ rowptr

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.

◆ values

double* rr::csr_matrix_t::values

array of stored (nonzero) entries of the matrix length: nnz


The documentation for this struct was generated from the following file: