OSVR-Core
Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::internal::AmbiVector< _Scalar, _Index >::Iterator Class Reference

Iterator over the nonzero coefficients. More...

#include <AmbiVector.h>

Public Types

typedef _Scalar Scalar
 
typedef NumTraits< Scalar >::Real RealScalar
 

Public Member Functions

 Iterator (const AmbiVector &vec, const RealScalar &epsilon=0)
 Default constructor. More...
 
Index index () const
 
Scalar value () const
 
 operator bool () const
 
Iteratoroperator++ ()
 

Protected Attributes

const AmbiVectorm_vector
 
Index m_currentEl
 
RealScalar m_epsilon
 
Index m_cachedIndex
 
Scalar m_cachedValue
 
bool m_isDense
 

Detailed Description

template<typename _Scalar, typename _Index>
class Eigen::internal::AmbiVector< _Scalar, _Index >::Iterator

Iterator over the nonzero coefficients.

Constructor & Destructor Documentation

§ Iterator()

template<typename _Scalar , typename _Index >
Eigen::internal::AmbiVector< _Scalar, _Index >::Iterator::Iterator ( const AmbiVector vec,
const RealScalar &  epsilon = 0 
)
inline

Default constructor.

Parameters
vecthe vector on which we iterate
epsilonthe 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: