![]() |
Eigen
3.3.3
|
Common base class for Map and Ref instance of sparse matrix and vector.
class SparseMapBase
Public Types | |
typedef Base::StorageIndex | StorageIndex |
Public Member Functions | |
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 |
const Scalar * | valuePtr () const |
~SparseMapBase () |
typedef Base::StorageIndex Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::StorageIndex |
The integer type used to store indices within a SparseMatrix. For a SparseMatrix<Scalar,Options,IndexType>
it an alias of the third template parameter IndexType
.
Reimplemented from Eigen::SparseMatrixBase< Derived >.
Reimplemented in Eigen::SparseMapBase< Derived, WriteAccessors >.
Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::~SparseMapBase | ( | ) | [inline] |
Empty destructor
Reimplemented in Eigen::SparseMapBase< Derived, WriteAccessors >.
Scalar Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
Index Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::cols | ( | void | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< Derived >.
const StorageIndex* Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::innerIndexPtr | ( | ) | const [inline] |
Reimplemented from Eigen::SparseCompressedBase< Derived >.
const StorageIndex* Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::innerNonZeroPtr | ( | ) | const [inline] |
Reimplemented from Eigen::SparseCompressedBase< Derived >.
Index Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::innerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< Derived >.
bool Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::isCompressed | ( | ) | const [inline] |
*this
is in compressed form. Reimplemented from Eigen::SparseCompressedBase< Derived >.
Index Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::nonZeros | ( | ) | const [inline] |
Reimplemented from Eigen::SparseCompressedBase< Derived >.
const StorageIndex* Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::outerIndexPtr | ( | ) | const [inline] |
Reimplemented from Eigen::SparseCompressedBase< Derived >.
Index Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::outerSize | ( | ) | const [inline] |
Reimplemented from Eigen::SparseMatrixBase< Derived >.
const Scalar* Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::valuePtr | ( | ) | const [inline] |
Reimplemented from Eigen::SparseCompressedBase< Derived >.