WPILibC++ 2023.4.3
|
An InnerIterator allows to loop over the element of any matrix expression. More...
Public Member Functions | |
InnerIterator (const XprType &xpr, const Index &outerId) | |
Construct an iterator over the outerId -th row or column of xpr. More... | |
EIGEN_STRONG_INLINE Scalar | value () const |
EIGEN_STRONG_INLINE InnerIterator & | operator++ () |
Increment the iterator *this to the next non-zero coefficient. More... | |
EIGEN_STRONG_INLINE InnerIterator & | operator+= (Index i) |
EIGEN_STRONG_INLINE InnerIterator | operator+ (Index i) |
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 |
An InnerIterator allows to loop over the element of any matrix expression.
TODO: add a usage example
|
protected |
|
protected |
|
protected |
|
inline |
Construct an iterator over the outerId -th row or column of xpr.
|
inline |
|
inline |
|
inline |
true
if the iterator *this
still references a valid coefficient.
|
inline |
|
inline |
Increment the iterator *this
to the next non-zero coefficient.
Explicit zeros are not skipped over. To skip explicit zeros, see class SparseView
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |