#include <AmbiVector.h>
Public Types | |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef _Scalar | Scalar |
Public Member Functions | |
Index | index () const |
Iterator (const AmbiVector &vec, const RealScalar &epsilon=0) | |
operator bool () const | |
Iterator & | operator++ () |
Scalar | value () const |
Protected Attributes | |
Index | m_cachedIndex |
Scalar | m_cachedValue |
Index | m_currentEl |
RealScalar | m_epsilon |
bool | m_isDense |
const AmbiVector & | m_vector |
Iterator over the nonzero coefficients
Definition at line 279 of file AmbiVector.h.
typedef NumTraits<Scalar>::Real Eigen::internal::AmbiVector< _Scalar, _Index >::Iterator::RealScalar |
Definition at line 283 of file AmbiVector.h.
typedef _Scalar Eigen::internal::AmbiVector< _Scalar, _Index >::Iterator::Scalar |
Definition at line 282 of file AmbiVector.h.
|
inline |
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 291 of file AmbiVector.h.
|
inline |
Definition at line 323 of file AmbiVector.h.
|
inline |
Definition at line 326 of file AmbiVector.h.
|
inline |
Definition at line 328 of file AmbiVector.h.
|
inline |
Definition at line 324 of file AmbiVector.h.
|
protected |
Definition at line 364 of file AmbiVector.h.
|
protected |
Definition at line 365 of file AmbiVector.h.
|
protected |
Definition at line 362 of file AmbiVector.h.
|
protected |
Definition at line 363 of file AmbiVector.h.
|
protected |
Definition at line 366 of file AmbiVector.h.
|
protected |
Definition at line 361 of file AmbiVector.h.