template<typename Derived>
SparseMapBase<Derived, ReadOnlyAccessors> class
Common base class for Map and Ref instance of sparse matrix and vector.
Contents
class SparseMapBase
Base classes
-
template<typename Derived>class SparseCompressedBase
- Common base class for sparse [compressed]-{row|column}-storage format.
Derived classes
-
template<typename Derived>class SparseMapBase<Derived, WriteAccessors>
- Common base class for writable Map and Ref instance of sparse matrix and vector.
Constructors, destructors, conversion operators
Public functions
- auto coeff(Index row, Index col) const -> Scalar
- auto cols() const -> Index
- auto innerIndexPtr() const -> const StorageIndex*
- auto innerNonZeroPtr() const -> const StorageIndex*
- auto innerSize() const -> Index
- auto isCompressed() const -> bool
- auto nonZeros() const -> Index
- auto outerIndexPtr() const -> const StorageIndex*
- auto outerSize() const -> Index
- auto rows() const -> Index
- auto valuePtr() const -> const Scalar*
Function documentation
template<typename Derived>
Eigen:: SparseMapBase<Derived, ReadOnlyAccessors><Derived>:: ~SparseMapBase()
Empty destructor
template<typename Derived>
const StorageIndex* Eigen:: SparseMapBase<Derived, ReadOnlyAccessors><Derived>:: innerIndexPtr() const
Returns | a const pointer to the array of inner indices. This function is aimed at interoperability with other libraries. |
---|
template<typename Derived>
const StorageIndex* Eigen:: SparseMapBase<Derived, ReadOnlyAccessors><Derived>:: innerNonZeroPtr() const
Returns | a const pointer to the array of the number of non zeros of the inner vectors. This function is aimed at interoperability with other libraries. |
---|
template<typename Derived>
bool Eigen:: SparseMapBase<Derived, ReadOnlyAccessors><Derived>:: isCompressed() const
Returns | whether *this is in compressed form. |
---|
template<typename Derived>
const StorageIndex* Eigen:: SparseMapBase<Derived, ReadOnlyAccessors><Derived>:: outerIndexPtr() const
Returns | a const pointer to the array of the starting positions of the inner vectors. This function is aimed at interoperability with other libraries. |
---|
template<typename Derived>
const Scalar* Eigen:: SparseMapBase<Derived, ReadOnlyAccessors><Derived>:: valuePtr() const
Returns | a const pointer to the array of values. This function is aimed at interoperability with other libraries. |
---|