|
| Scalar & | coeffRef (Index row, Index col) |
| |
| StorageIndex * | innerIndexPtr () |
| |
| StorageIndex * | innerNonZeroPtr () |
| |
| StorageIndex * | outerIndexPtr () |
| |
| | SparseMapBase (Index rows, Index cols, Index nnz, StorageIndex *outerIndexPtr, StorageIndex *innerIndexPtr, Scalar *valuePtr, StorageIndex *innerNonZerosPtr=0) |
| |
| | SparseMapBase (Index size, Index nnz, StorageIndex *innerIndexPtr, Scalar *valuePtr) |
| |
| Scalar * | valuePtr () |
| |
| | ~SparseMapBase () |
| |
| Scalar | coeff (Index row, Index col) const |
| |
| Index | cols () const |
| |
| const StorageIndex * | innerIndexPtr () const |
| |
| const StorageIndex * | innerNonZeroPtr () const |
| |
| Index | innerSize () const |
| |
| bool | isCompressed () const |
| |
| Index | nonZeros () const |
| |
| const StorageIndex * | outerIndexPtr () const |
| |
| Index | outerSize () const |
| |
| Index | rows () const |
| |
| | SparseMapBase (Index rows, Index cols, Index nnz, IndexPointer outerIndexPtr, IndexPointer innerIndexPtr, ScalarPointer valuePtr, IndexPointer innerNonZerosPtr=0) |
| |
| | SparseMapBase (Index size, Index nnz, IndexPointer innerIndexPtr, ScalarPointer valuePtr) |
| |
| const Scalar * | valuePtr () const |
| |
| | ~SparseMapBase () |
| |
| Map< Array< Scalar, Dynamic, 1 > > | coeffs () |
| |
| const Map< const Array< Scalar, Dynamic, 1 > > | coeffs () const |
| |
| StorageIndex * | innerIndexPtr () |
| |
| const StorageIndex * | innerIndexPtr () const |
| |
| StorageIndex * | innerNonZeroPtr () |
| |
| const StorageIndex * | innerNonZeroPtr () const |
| |
| bool | isCompressed () const |
| |
| Index | nonZeros () const |
| |
| Derived & | operator= (const Derived &other) |
| |
| Derived & | operator= (const Derived &other) |
| |
| Derived & | operator= (const EigenBase< OtherDerived > &other) |
| |
| Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
| |
| Derived & | operator= (const SparseMatrixBase< OtherDerived > &other) |
| |
| StorageIndex * | outerIndexPtr () |
| |
| const StorageIndex * | outerIndexPtr () const |
| |
| Scalar * | valuePtr () |
| |
| const Scalar * | valuePtr () const |
| |
template<typename Derived>
class Eigen::SparseMapBase< Derived, WriteAccessors >
Common base class for writable Map and Ref instance of sparse matrix and vector.
class SparseMapBase
Definition at line 148 of file SparseMap.h.
template<typename Derived >
- Returns
- a non-const reference to the value of the matrix at position i, j
If the element does not exist then it is inserted via the insert(Index,Index) function which itself turns the matrix into a non compressed form if that was not the case.
This is a O(log(nnz_j)) operation (binary search) plus the cost of insert(Index,Index) function if the element does not already exist.
Definition at line 180 of file SparseMap.h.