Sparse matrix. More...
#include <MappedSparseMatrix.h>

Classes | |
| class | InnerIterator |
Public Member Functions | |
| const Index * | _innerIndexPtr () const |
| Index * | _innerIndexPtr () |
| const Index * | _outerIndexPtr () const |
| Index * | _outerIndexPtr () |
| const Scalar * | _valuePtr () const |
| Scalar * | _valuePtr () |
| Scalar | coeff (Index row, Index col) const |
| Scalar & | coeffRef (Index row, Index col) |
| Index | cols () const |
| Index | innerNonZeros (Index j) const |
| Index | innerSize () const |
| MappedSparseMatrix (Index rows, Index cols, Index nnz, Index *outerIndexPtr, Index *innerIndexPtr, Scalar *valuePtr) | |
| Index | nonZeros () const |
| Index | outerSize () const |
| Index | rows () const |
| ~MappedSparseMatrix () | |
Protected Types | |
| enum | { IsRowMajor = Base::IsRowMajor } |
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 44 of file MappedSparseMatrix.h.
anonymous enum [protected] |
Definition at line 51 of file MappedSparseMatrix.h.
| MappedSparseMatrix< _Scalar, _Flags, _Index >::MappedSparseMatrix | ( | Index | rows, |
| Index | cols, | ||
| Index | nnz, | ||
| Index * | outerIndexPtr, | ||
| Index * | innerIndexPtr, | ||
| Scalar * | valuePtr | ||
| ) | [inline] |
Definition at line 119 of file MappedSparseMatrix.h.
| MappedSparseMatrix< _Scalar, _Flags, _Index >::~MappedSparseMatrix | ( | ) | [inline] |
Empty destructor
Definition at line 125 of file MappedSparseMatrix.h.
| const Index* MappedSparseMatrix< _Scalar, _Flags, _Index >::_innerIndexPtr | ( | ) | const [inline] |
Definition at line 73 of file MappedSparseMatrix.h.
| Index* MappedSparseMatrix< _Scalar, _Flags, _Index >::_innerIndexPtr | ( | ) | [inline] |
Definition at line 74 of file MappedSparseMatrix.h.
| const Index* MappedSparseMatrix< _Scalar, _Flags, _Index >::_outerIndexPtr | ( | ) | const [inline] |
Definition at line 76 of file MappedSparseMatrix.h.
| Index* MappedSparseMatrix< _Scalar, _Flags, _Index >::_outerIndexPtr | ( | ) | [inline] |
Definition at line 77 of file MappedSparseMatrix.h.
| const Scalar* MappedSparseMatrix< _Scalar, _Flags, _Index >::_valuePtr | ( | ) | const [inline] |
Definition at line 70 of file MappedSparseMatrix.h.
| Scalar* MappedSparseMatrix< _Scalar, _Flags, _Index >::_valuePtr | ( | ) | [inline] |
Definition at line 71 of file MappedSparseMatrix.h.
| Scalar MappedSparseMatrix< _Scalar, _Flags, _Index >::coeff | ( | Index | row, |
| Index | col | ||
| ) | const [inline] |
Definition at line 80 of file MappedSparseMatrix.h.
| Scalar& MappedSparseMatrix< _Scalar, _Flags, _Index >::coeffRef | ( | Index | row, |
| Index | col | ||
| ) | [inline] |
Definition at line 99 of file MappedSparseMatrix.h.
| Index MappedSparseMatrix< _Scalar, _Flags, _Index >::cols | ( | void | ) | const [inline] |
Reimplemented from SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 63 of file MappedSparseMatrix.h.
| Index MappedSparseMatrix< _Scalar, _Flags, _Index >::innerNonZeros | ( | Index | j | ) | const [inline] |
Definition at line 66 of file MappedSparseMatrix.h.
| Index MappedSparseMatrix< _Scalar, _Flags, _Index >::innerSize | ( | ) | const [inline] |
Reimplemented from SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 64 of file MappedSparseMatrix.h.
| Index MappedSparseMatrix< _Scalar, _Flags, _Index >::nonZeros | ( | ) | const [inline] |
Reimplemented from SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 117 of file MappedSparseMatrix.h.
| Index MappedSparseMatrix< _Scalar, _Flags, _Index >::outerSize | ( | ) | const [inline] |
Reimplemented from SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 65 of file MappedSparseMatrix.h.
| Index MappedSparseMatrix< _Scalar, _Flags, _Index >::rows | ( | void | ) | const [inline] |
Reimplemented from SparseMatrixBase< MappedSparseMatrix< _Scalar, _Flags, _Index > >.
Definition at line 62 of file MappedSparseMatrix.h.
Index* MappedSparseMatrix< _Scalar, _Flags, _Index >::m_innerIndices [protected] |
Definition at line 57 of file MappedSparseMatrix.h.
Index MappedSparseMatrix< _Scalar, _Flags, _Index >::m_innerSize [protected] |
Definition at line 54 of file MappedSparseMatrix.h.
Index MappedSparseMatrix< _Scalar, _Flags, _Index >::m_nnz [protected] |
Definition at line 55 of file MappedSparseMatrix.h.
Index* MappedSparseMatrix< _Scalar, _Flags, _Index >::m_outerIndex [protected] |
Definition at line 56 of file MappedSparseMatrix.h.
Index MappedSparseMatrix< _Scalar, _Flags, _Index >::m_outerSize [protected] |
Definition at line 53 of file MappedSparseMatrix.h.
Scalar* MappedSparseMatrix< _Scalar, _Flags, _Index >::m_values [protected] |
Definition at line 58 of file MappedSparseMatrix.h.