#include <AmbiVector.h>
Public Types | |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef _Scalar | Scalar |
Public Member Functions | |
StorageIndex | index () const |
Iterator (const AmbiVector &vec, const RealScalar &epsilon=0) | |
operator bool () const | |
Iterator & | operator++ () |
Scalar | value () const |
Protected Attributes | |
StorageIndex | m_cachedIndex |
Scalar | m_cachedValue |
StorageIndex | m_currentEl |
RealScalar | m_epsilon |
bool | m_isDense |
const AmbiVector & | m_vector |
Iterator over the nonzero coefficients
Definition at line 284 of file AmbiVector.h.
typedef NumTraits<Scalar>::Real Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::Iterator::RealScalar |
Definition at line 288 of file AmbiVector.h.
typedef _Scalar Eigen::internal::AmbiVector< _Scalar, _StorageIndex >::Iterator::Scalar |
Definition at line 287 of file AmbiVector.h.
|
inlineexplicit |
Default constructor
vec | the vector on which we iterate |
epsilon | the minimal value used to prune zero coefficients. In practice, all coefficients having a magnitude smaller than epsilon are skipped. |
Definition at line 296 of file AmbiVector.h.
|
inline |
Definition at line 328 of file AmbiVector.h.
|
inline |
Definition at line 331 of file AmbiVector.h.
|
inline |
Definition at line 333 of file AmbiVector.h.
|
inline |
Definition at line 329 of file AmbiVector.h.
|
protected |
Definition at line 369 of file AmbiVector.h.
|
protected |
Definition at line 370 of file AmbiVector.h.
|
protected |
Definition at line 367 of file AmbiVector.h.
|
protected |
Definition at line 368 of file AmbiVector.h.
|
protected |
Definition at line 371 of file AmbiVector.h.
|
protected |
Definition at line 366 of file AmbiVector.h.