|
Blaze 3.9
|
Iterator over the elements of the dense vector. More...
#include <DVecScalarMultExpr.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. | |
| using | IteratorType = ConstIterator_t<VT> |
| ConstIterator type of the dense vector expression. | |
Public Member Functions | |
| BLAZE_DEVICE_CALLABLE | ConstIterator (IteratorType iterator, RightOperand scalar) |
| Constructor for the ConstIterator class. | |
| BLAZE_DEVICE_CALLABLE ConstIterator & | operator+= (size_t inc) |
| Addition assignment operator. | |
| BLAZE_DEVICE_CALLABLE ConstIterator & | operator-= (size_t dec) |
| Subtraction assignment operator. | |
| BLAZE_DEVICE_CALLABLE ConstIterator & | operator++ () |
| Pre-increment operator. | |
| BLAZE_DEVICE_CALLABLE const ConstIterator | operator++ (int) |
| Post-increment operator. | |
| BLAZE_DEVICE_CALLABLE ConstIterator & | operator-- () |
| Pre-decrement operator. | |
| BLAZE_DEVICE_CALLABLE const ConstIterator | operator-- (int) |
| Post-decrement operator. | |
| BLAZE_DEVICE_CALLABLE ReturnType | operator* () const |
| Direct access to the element at the current iterator position. | |
| auto | load () const noexcept |
| Access to the SIMD elements of the vector. | |
| BLAZE_DEVICE_CALLABLE bool | operator== (const ConstIterator &rhs) const |
| Equality comparison between two ConstIterator objects. | |
| BLAZE_DEVICE_CALLABLE bool | operator!= (const ConstIterator &rhs) const |
| Inequality comparison between two ConstIterator objects. | |
| BLAZE_DEVICE_CALLABLE bool | operator< (const ConstIterator &rhs) const |
| Less-than comparison between two ConstIterator objects. | |
| BLAZE_DEVICE_CALLABLE bool | operator> (const ConstIterator &rhs) const |
| Greater-than comparison between two ConstIterator objects. | |
| BLAZE_DEVICE_CALLABLE bool | operator<= (const ConstIterator &rhs) const |
| Less-than comparison between two ConstIterator objects. | |
| BLAZE_DEVICE_CALLABLE bool | operator>= (const ConstIterator &rhs) const |
| Greater-than comparison between two ConstIterator objects. | |
| BLAZE_DEVICE_CALLABLE DifferenceType | operator- (const ConstIterator &rhs) const |
| Calculating the number of elements between two iterators. | |
Private Attributes | |
| IteratorType | iterator_ |
| Iterator to the current element. | |
| RightOperand | scalar_ |
| Scalar of the multiplication expression. | |
Iterator over the elements of the dense vector.
|
inline |
Constructor for the ConstIterator class.
| iterator | Iterator to the initial element. |
| scalar | Scalar of the multiplication expression. |
|
inlinenoexcept |
Access to the SIMD elements of the vector.
|
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. |