Sparse matrix. More...
Public Member Functions | |
int * | _innerIndexPtr () |
const int * | _innerIndexPtr () const |
int * | _outerIndexPtr () |
const int * | _outerIndexPtr () const |
Scalar * | _valuePtr () |
const Scalar * | _valuePtr () const |
Scalar | coeff (int row, int col) const |
Scalar & | coeffRef (int row, int col) |
int | cols () const |
int | innerNonZeros (int j) const |
int | innerSize () const |
MappedSparseMatrix (int rows, int cols, int nnz, int *outerIndexPtr, int *innerIndexPtr, Scalar *valuePtr) | |
int | nonZeros () const |
int | outerSize () const |
int | rows () const |
~MappedSparseMatrix () | |
Protected Types | |
enum | { IsRowMajor } |
Protected Attributes | |
int * | m_innerIndices |
int | m_innerSize |
int | m_nnz |
int * | m_outerIndex |
int | m_outerSize |
Scalar * | m_values |
Sparse matrix.
_Scalar | the scalar type, i.e. the type of the coefficients |
See http://www.netlib.org/linalg/html_templates/node91.html for details on the storage scheme.
~MappedSparseMatrix | ( | ) | [inline] |
Empty destructor
int nonZeros | ( | ) | const [inline] |