An InnerIterator allows to loop over the element of any matrix expression. More...
#include <CoreIterators.h>
Public Member Functions | |
EIGEN_STRONG_INLINE Index | col () const |
EIGEN_STRONG_INLINE Index | index () const |
InnerIterator (const XprType &xpr, const Index &outerId) | |
EIGEN_STRONG_INLINE | operator bool () const |
EIGEN_STRONG_INLINE InnerIterator | operator+ (Index i) |
EIGEN_STRONG_INLINE InnerIterator & | operator++ () |
EIGEN_STRONG_INLINE InnerIterator & | operator+= (Index i) |
EIGEN_STRONG_INLINE Index | row () const |
EIGEN_STRONG_INLINE Scalar | value () const |
Protected Types | |
typedef internal::evaluator< XprType > | EvaluatorType |
typedef internal::inner_iterator_selector< XprType, typename internal::evaluator_traits< XprType >::Kind > | IteratorType |
typedef internal::traits< XprType >::Scalar | Scalar |
Protected Attributes | |
EvaluatorType | m_eval |
IteratorType | m_iter |
Private Member Functions | |
template<typename T > | |
InnerIterator (const EigenBase< T > &, Index outer) | |
An InnerIterator allows to loop over the element of any matrix expression.
TODO: add a usage example
Definition at line 33 of file CoreIterators.h.
|
protected |
Definition at line 37 of file CoreIterators.h.
|
protected |
Definition at line 36 of file CoreIterators.h.
|
protected |
Definition at line 38 of file CoreIterators.h.
|
inline |
Construct an iterator over the outerId -th row or column of xpr
Definition at line 41 of file CoreIterators.h.
|
private |
|
inline |
Definition at line 61 of file CoreIterators.h.
|
inline |
Definition at line 57 of file CoreIterators.h.
|
inline |
true
if the iterator *this
still references a valid coefficient. Definition at line 63 of file CoreIterators.h.
|
inline |
Definition at line 52 of file CoreIterators.h.
|
inline |
Increment the iterator *this
to the next non-zero coefficient. Explicit zeros are not skipped over. To skip explicit zeros, see class SparseView
Definition at line 50 of file CoreIterators.h.
|
inline |
Definition at line 51 of file CoreIterators.h.
|
inline |
Definition at line 59 of file CoreIterators.h.
|
inline |
Definition at line 46 of file CoreIterators.h.
|
protected |
Definition at line 66 of file CoreIterators.h.
|
protected |
Definition at line 67 of file CoreIterators.h.