Common base class for Map and Ref instance of sparse matrix and vector. More...
#include <SparseMap.h>
Public Types | |
enum | { IsRowMajor = Base::IsRowMajor } |
typedef SparseCompressedBase< Derived > | Base |
typedef Base::Scalar | Scalar |
typedef Base::StorageIndex | StorageIndex |
Public Types inherited from Eigen::SparseCompressedBase< Derived > | |
typedef SparseMatrixBase< Derived > | Base |
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 |
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 () | |
Public Member Functions inherited from Eigen::SparseCompressedBase< Derived > | |
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 |
Protected Types | |
typedef internal::conditional< bool(internal::is_lvalue< Derived >::value), StorageIndex *, const StorageIndex * >::type | IndexPointer |
typedef internal::conditional< bool(internal::is_lvalue< Derived >::value), Scalar *, const Scalar * >::type | ScalarPointer |
Protected Types inherited from Eigen::SparseCompressedBase< Derived > | |
typedef Base::IndexVector | IndexVector |
Protected Member Functions | |
SparseMapBase () | |
Protected Member Functions inherited from Eigen::SparseCompressedBase< Derived > | |
Eigen::Map< IndexVector > | innerNonZeros () |
const Eigen::Map< const IndexVector > | innerNonZeros () const |
internal::LowerBoundIndex | lower_bound (Index row, Index col) const |
SparseCompressedBase () | |
Protected Attributes | |
IndexPointer | m_innerIndices |
IndexPointer | m_innerNonZeros |
Index | m_innerSize |
IndexPointer | m_outerIndex |
Index | m_outerSize |
ScalarPointer | m_values |
Array< StorageIndex, 2, 1 > | m_zero_nnz |
Common base class for Map and Ref instance of sparse matrix and vector.
class SparseMapBase
Definition at line 50 of file SparseMap.h.
typedef SparseCompressedBase<Derived> Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::Base |
Definition at line 54 of file SparseMap.h.
|
protected |
Definition at line 66 of file SparseMap.h.
typedef Base::Scalar Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::Scalar |
Definition at line 55 of file SparseMap.h.
|
protected |
Definition at line 63 of file SparseMap.h.
typedef Base::StorageIndex Eigen::SparseMapBase< Derived, ReadOnlyAccessors >::StorageIndex |
Definition at line 56 of file SparseMap.h.
anonymous enum |
Enumerator | |
---|---|
IsRowMajor |
Definition at line 57 of file SparseMap.h.
|
inline |
Definition at line 124 of file SparseMap.h.
|
inline |
Definition at line 131 of file SparseMap.h.
|
inline |
Empty destructor
Definition at line 137 of file SparseMap.h.
|
inlineprotected |
Definition at line 140 of file SparseMap.h.
|
inline |
Definition at line 105 of file SparseMap.h.
|
inline |
|
inline |
Definition at line 97 of file SparseMap.h.
|
inline |
Definition at line 101 of file SparseMap.h.
|
inline |
Definition at line 83 of file SparseMap.h.
|
inline |
*this
is in compressed form. Definition at line 90 of file SparseMap.h.
|
inline |
Definition at line 87 of file SparseMap.h.
|
inline |
Definition at line 99 of file SparseMap.h.
|
inline |
Definition at line 85 of file SparseMap.h.
|
inline |
|
inline |
Definition at line 95 of file SparseMap.h.
|
protected |
Definition at line 72 of file SparseMap.h.
|
protected |
Definition at line 74 of file SparseMap.h.
|
protected |
Definition at line 69 of file SparseMap.h.
|
protected |
Definition at line 71 of file SparseMap.h.
|
protected |
Definition at line 68 of file SparseMap.h.
|
protected |
Definition at line 73 of file SparseMap.h.
|
protected |
Definition at line 70 of file SparseMap.h.