Iterator over the nonzero coefficients.
More...
#include <AmbiVector.h>
|
typedef _Scalar | Scalar |
|
typedef NumTraits< Scalar >::Real | RealScalar |
|
|
| Iterator (const AmbiVector &vec, const RealScalar &epsilon=0) |
| Default constructor. More...
|
|
Index | index () const |
|
Scalar | value () const |
|
| operator bool () const |
|
Iterator & | operator++ () |
|
|
const AmbiVector & | m_vector |
|
Index | m_currentEl |
|
RealScalar | m_epsilon |
|
Index | m_cachedIndex |
|
Scalar | m_cachedValue |
|
bool | m_isDense |
|
template<typename _Scalar, typename _Index>
class Eigen::internal::AmbiVector< _Scalar, _Index >::Iterator
Iterator over the nonzero coefficients.
§ Iterator()
template<typename _Scalar , typename _Index >
Default constructor.
- Parameters
-
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. |
The documentation for this class was generated from the following file: