Specialization of class Map for SparseMatrix-like storage. More...
#include <SparseMap.h>
Public Types | |
enum | { IsRowMajor = Base::IsRowMajor } |
typedef SparseMapBase< Map > | Base |
Public Member Functions | |
Map (Index rows, Index cols, Index nnz, StorageIndex *outerIndexPtr, StorageIndex *innerIndexPtr, Scalar *valuePtr, StorageIndex *innerNonZerosPtr=0) | |
~Map () | |
Specialization of class Map for SparseMatrix-like storage.
SparseMatrixType | the equivalent sparse matrix type of the referenced data, it must be a template instance of class SparseMatrix. |
Definition at line 222 of file SparseMap.h.
typedef SparseMapBase<Map> Eigen::Map< SparseMatrix< MatScalar, MatOptions, MatIndex >, Options, StrideType >::Base |
Definition at line 231 of file SparseMap.h.
anonymous enum |
Enumerator | |
---|---|
IsRowMajor |
Definition at line 233 of file SparseMap.h.
|
inline |
Constructs a read-write Map to a sparse matrix of size rows x cols, containing nnz non-zero coefficients, stored as a sparse format as defined by the pointers outerIndexPtr, innerIndexPtr, and valuePtr. If the optional parameter innerNonZerosPtr is the null pointer, then a standard compressed format is assumed.
This constructor is available only if SparseMatrixType
is non-const.
More details on the expected storage schemes are given in the manual pages.
Definition at line 245 of file SparseMap.h.
|
inline |
Empty destructor
Definition at line 251 of file SparseMap.h.