|
Blaze 3.9
|
Iterator over the elements of the dense vector. More...
#include <SMatVarExpr.h>
Public Types | |
| using | IteratorCategory = std::random_access_iterator_tag |
| The iterator category. | |
| using | ValueType = ElementType |
| Type of the underlying elements. | |
| using | PointerType = ElementType* |
| Pointer return type. | |
| using | ReferenceType = ElementType& |
| Reference return type. | |
| using | DifferenceType = ptrdiff_t |
| Difference between two iterators. | |
| using | iterator_category = IteratorCategory |
| The iterator category. | |
| using | value_type = ValueType |
| Type of the underlying elements. | |
| using | pointer = PointerType |
| Pointer return type. | |
| using | reference = ReferenceType |
| Reference return type. | |
| using | difference_type = DifferenceType |
| Difference between two iterators. | |
Public Member Functions | |
| ConstIterator (Operand sm, size_t index) | |
| Constructor for the ConstIterator class. | |
| ConstIterator & | operator+= (size_t inc) |
| Addition assignment operator. | |
| ConstIterator & | operator-= (size_t dec) |
| Subtraction assignment operator. | |
| ConstIterator & | operator++ () |
| Pre-increment operator. | |
| const ConstIterator | operator++ (int) |
| Post-increment operator. | |
| ConstIterator & | operator-- () |
| Pre-decrement operator. | |
| const ConstIterator | operator-- (int) |
| Post-decrement operator. | |
| ReturnType | operator* () const |
| Direct access to the element at the current iterator position. | |
| bool | operator== (const ConstIterator &rhs) const |
| Equality comparison between two ConstIterator objects. | |
| bool | operator!= (const ConstIterator &rhs) const |
| Inequality comparison between two ConstIterator objects. | |
| bool | operator< (const ConstIterator &rhs) const |
| Less-than comparison between two ConstIterator objects. | |
| bool | operator> (const ConstIterator &rhs) const |
| Greater-than comparison between two ConstIterator objects. | |
| bool | operator<= (const ConstIterator &rhs) const |
| Less-than comparison between two ConstIterator objects. | |
| bool | operator>= (const ConstIterator &rhs) const |
| Greater-than comparison between two ConstIterator objects. | |
| DifferenceType | operator- (const ConstIterator &rhs) const |
| Calculating the number of elements between two iterators. | |
Private Attributes | |
| Operand | sm_ |
| Sparse matrix of the variance expression. | |
| size_t | index_ |
| Index to the current matrix row. | |
Iterator over the elements of the dense vector.
|
inline |
Constructor for the ConstIterator class.
| sm | The sparse matrix operand of the variance expression. |
| index | Index to the initial matrix row. |
|
inline |
Inequality comparison between two ConstIterator objects.
| rhs | The right-hand side iterator. |
|
inline |
Direct access to the element at the current iterator position.
|
inline |
Pre-increment operator.
|
inline |
Post-increment operator.
|
inline |
Addition assignment operator.
| inc | The increment of the iterator. |
|
inline |
Calculating the number of elements between two iterators.
| rhs | The right-hand side iterator. |
|
inline |
Pre-decrement operator.
|
inline |
Post-decrement operator.
|
inline |
Subtraction assignment operator.
| dec | The decrement of the iterator. |
|
inline |
Less-than comparison between two ConstIterator objects.
| rhs | The right-hand side iterator. |
|
inline |
Less-than comparison between two ConstIterator objects.
| rhs | The right-hand side iterator. |
|
inline |
Equality comparison between two ConstIterator objects.
| rhs | The right-hand side iterator. |
|
inline |
Greater-than comparison between two ConstIterator objects.
| rhs | The right-hand side iterator. |
|
inline |
Greater-than comparison between two ConstIterator objects.
| rhs | The right-hand side iterator. |