![]() |
Iterator over the elements of the sparse matrix absolute value expression. More...
#include <SMatAbsExpr.h>
Public Types | |
typedef SparseElement < ElementType > | Element |
Element type of the sparse matrix expression. | |
typedef boost::remove_reference < Operand > ::type::ConstIterator | IteratorType |
Iterator type of the sparse matrix expression. | |
typedef std::forward_iterator_tag | IteratorCategory |
The iterator category. | |
typedef Element | ValueType |
Type of the underlying pointers. | |
typedef ValueType * | PointerType |
Pointer return type. | |
typedef ValueType & | ReferenceType |
Reference return type. | |
typedef ptrdiff_t | DifferenceType |
Difference between two iterators. | |
typedef IteratorCategory | iterator_category |
The iterator category. | |
typedef ValueType | value_type |
Type of the underlying pointers. | |
typedef PointerType | pointer |
Pointer return type. | |
typedef ReferenceType | reference |
Reference return type. | |
typedef DifferenceType | difference_type |
Difference between two iterators. | |
Public Member Functions | |
ConstIterator (IteratorType it) | |
Constructor for the ConstIterator class. | |
ConstIterator & | operator++ () |
Pre-increment operator. More... | |
const Element | operator* () const |
Direct access to the sparse matrix element at the current iterator position. More... | |
const ConstIterator * | operator-> () const |
Direct access to the sparse matrix element at the current iterator position. More... | |
ReturnType | value () const |
Access to the current value of the sparse element. More... | |
size_t | index () const |
Access to the current index of the sparse element. More... | |
bool | operator== (const ConstIterator &rhs) const |
Equality comparison between two ConstIterator objects. More... | |
bool | operator!= (const ConstIterator &rhs) const |
Inequality comparison between two ConstIterator objects. More... | |
DifferenceType | operator- (const ConstIterator &rhs) const |
Calculating the number of elements between two expression iterators. More... | |
Private Attributes | |
IteratorType | it_ |
Iterator over the elements of the sparse matrix expression. | |
Iterator over the elements of the sparse matrix absolute value expression.
|
inline |
Access to the current index of the sparse element.
|
inline |
Inequality comparison between two ConstIterator objects.
rhs | The right-hand side expression iterator. |
|
inline |
Direct access to the sparse matrix element at the current iterator position.
|
inline |
Pre-increment operator.
|
inline |
Calculating the number of elements between two expression iterators.
rhs | The right-hand side expression iterator. |
|
inline |
Direct access to the sparse matrix element at the current iterator position.
|
inline |
Equality comparison between two ConstIterator objects.
rhs | The right-hand side expression iterator. |
|
inline |
Access to the current value of the sparse element.