Sparse matrix. More...
#include <MappedSparseMatrix.h>
Classes | |
class | InnerIterator |
class | ReverseInnerIterator |
Public Types | |
enum | { IsRowMajor = Base::IsRowMajor } |
Public Member Functions | |
Scalar | coeff (Index row, Index col) const |
Scalar & | coeffRef (Index row, Index col) |
Index | cols () const |
const Index * | innerIndexPtr () const |
Index * | innerIndexPtr () |
Index | innerSize () const |
bool | isCompressed () const |
MappedSparseMatrix (Index rows, Index cols, Index nnz, Index *outerIndexPtr, Index *innerIndexPtr, Scalar *valuePtr) | |
Index | nonZeros () const |
const Index * | outerIndexPtr () const |
Index * | outerIndexPtr () |
Index | outerSize () const |
Index | rows () const |
const Scalar * | valuePtr () const |
Scalar * | valuePtr () |
~MappedSparseMatrix () | |
Protected Attributes | |
Index * | m_innerIndices |
Index | m_innerSize |
Index | m_nnz |
Index * | m_outerIndex |
Index | 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.
Definition at line 31 of file MappedSparseMatrix.h.
anonymous enum |
Definition at line 36 of file MappedSparseMatrix.h.
Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::MappedSparseMatrix | ( | Index | rows, |
Index | cols, | ||
Index | nnz, | ||
Index * | outerIndexPtr, | ||
Index * | innerIndexPtr, | ||
Scalar * | valuePtr | ||
) | [inline] |
Definition at line 108 of file MappedSparseMatrix.h.
Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::~MappedSparseMatrix | ( | ) | [inline] |
Empty destructor
Definition at line 114 of file MappedSparseMatrix.h.
Scalar Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 68 of file MappedSparseMatrix.h.
Scalar& Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 87 of file MappedSparseMatrix.h.
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 50 of file MappedSparseMatrix.h.
const Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::innerIndexPtr | ( | ) | const [inline] |
Definition at line 61 of file MappedSparseMatrix.h.
Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::innerIndexPtr | ( | ) | [inline] |
Definition at line 62 of file MappedSparseMatrix.h.
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::innerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 51 of file MappedSparseMatrix.h.
bool Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::isCompressed | ( | ) | const [inline] |
Definition at line 54 of file MappedSparseMatrix.h.
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::nonZeros | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 106 of file MappedSparseMatrix.h.
const Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::outerIndexPtr | ( | ) | const [inline] |
Definition at line 64 of file MappedSparseMatrix.h.
Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::outerIndexPtr | ( | ) | [inline] |
Definition at line 65 of file MappedSparseMatrix.h.
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::outerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 52 of file MappedSparseMatrix.h.
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::rows | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 49 of file MappedSparseMatrix.h.
const Scalar* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::valuePtr | ( | ) | const [inline] |
Definition at line 58 of file MappedSparseMatrix.h.
Scalar* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::valuePtr | ( | ) | [inline] |
Definition at line 59 of file MappedSparseMatrix.h.
Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_innerIndices [protected] |
Definition at line 44 of file MappedSparseMatrix.h.
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_innerSize [protected] |
Definition at line 41 of file MappedSparseMatrix.h.
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_nnz [protected] |
Definition at line 42 of file MappedSparseMatrix.h.
Index* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_outerIndex [protected] |
Definition at line 43 of file MappedSparseMatrix.h.
Index Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_outerSize [protected] |
Definition at line 40 of file MappedSparseMatrix.h.
Scalar* Eigen::MappedSparseMatrix< _Scalar, _Flags, _Index >::m_values [protected] |
Definition at line 45 of file MappedSparseMatrix.h.