![]() |
Eigen
3.3.7
|
A sparse matrix expression referencing an existing sparse expression.
SparseMatrixType | the equivalent sparse matrix type of the referenced data, it must be a template instance of class SparseMatrix. |
Options | specifies whether the a standard compressed format is required Options is StandardCompressedFormat , or 0 . The default is 0 . |
Public Member Functions | |
template<typename Derived > | |
Ref (SparseCompressedBase< Derived > &expr) | |
![]() | |
Scalar & | coeffRef (Index row, Index col) |
StorageIndex * | innerIndexPtr () |
StorageIndex * | innerNonZeroPtr () |
StorageIndex * | outerIndexPtr () |
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 |
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 |
StorageIndex * | outerIndexPtr () |
const StorageIndex * | outerIndexPtr () const |
Scalar * | valuePtr () |
const Scalar * | valuePtr () const |
Additional Inherited Members | |
![]() | |
SparseCompressedBase () | |
|
inline |
Implicit constructor from any sparse expression (2D matrix or 1D vector)