![]() |
Eigen
3.3.9
|
Common base class for sparse [compressed]-{row|column}-storage format.
This class defines the common interface for all derived classes implementing the compressed sparse storage format, such as:
Public Member Functions | |
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 |
Protected Member Functions | |
SparseCompressedBase () | |
|
inlineprotected |
Default constructor. Do nothing.
|
inline |
Here is an example:
and the output is:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
*this
is in compressed form.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |