|
MOAB
4.9.3pre
|
An InnerIterator allows to loop over the element of any matrix expression. More...
#include <CoreIterators.h>

Public Member Functions | |
| InnerIterator (const XprType &xpr, const Index &outerId) | |
| EIGEN_STRONG_INLINE Scalar | value () const |
| EIGEN_STRONG_INLINE InnerIterator & | operator++ () |
| EIGEN_STRONG_INLINE Index | index () const |
| EIGEN_STRONG_INLINE Index | row () const |
| EIGEN_STRONG_INLINE Index | col () const |
| EIGEN_STRONG_INLINE | operator bool () const |
Protected Types | |
| typedef internal::inner_iterator_selector < XprType, typename internal::evaluator_traits < XprType >::Kind > | IteratorType |
| typedef internal::evaluator < XprType > | EvaluatorType |
| 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.
typedef internal::evaluator<XprType> Eigen::InnerIterator< XprType >::EvaluatorType [protected] |
Definition at line 37 of file CoreIterators.h.
typedef internal::inner_iterator_selector<XprType, typename internal::evaluator_traits<XprType>::Kind> Eigen::InnerIterator< XprType >::IteratorType [protected] |
Definition at line 36 of file CoreIterators.h.
typedef internal::traits<XprType>::Scalar Eigen::InnerIterator< XprType >::Scalar [protected] |
Definition at line 38 of file CoreIterators.h.
| Eigen::InnerIterator< XprType >::InnerIterator | ( | const XprType & | xpr, |
| const Index & | outerId | ||
| ) | [inline] |
Construct an iterator over the outerId -th row or column of xpr
Definition at line 41 of file CoreIterators.h.
| Eigen::InnerIterator< XprType >::InnerIterator | ( | const EigenBase< T > & | , |
| Index | outer | ||
| ) | [private] |
| EIGEN_STRONG_INLINE Index Eigen::InnerIterator< XprType >::col | ( | ) | const [inline] |
Definition at line 56 of file CoreIterators.h.
{ return m_iter.col(); }
| EIGEN_STRONG_INLINE Index Eigen::InnerIterator< XprType >::index | ( | ) | const [inline] |
Definition at line 52 of file CoreIterators.h.
{ return m_iter.index(); }
| EIGEN_STRONG_INLINE Eigen::InnerIterator< XprType >::operator bool | ( | ) | const [inline] |
true if the iterator *this still references a valid coefficient. Definition at line 58 of file CoreIterators.h.
{ return m_iter; }
| EIGEN_STRONG_INLINE InnerIterator& Eigen::InnerIterator< XprType >::operator++ | ( | ) | [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.
{ m_iter.operator++(); return *this; }
| EIGEN_STRONG_INLINE Index Eigen::InnerIterator< XprType >::row | ( | ) | const [inline] |
Definition at line 54 of file CoreIterators.h.
{ return m_iter.row(); }
| EIGEN_STRONG_INLINE Scalar Eigen::InnerIterator< XprType >::value | ( | ) | const [inline] |
Definition at line 46 of file CoreIterators.h.
{ return m_iter.value(); }
EvaluatorType Eigen::InnerIterator< XprType >::m_eval [protected] |
Definition at line 61 of file CoreIterators.h.
IteratorType Eigen::InnerIterator< XprType >::m_iter [protected] |
Definition at line 62 of file CoreIterators.h.