![]() |
Blaze
3.6
|
Iterator over the elements of the dense vector map expression. More...
#include <DVecDVecMapExpr.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 | LeftIteratorType = ConstIterator_t< VT1 > |
ConstIterator type of the left-hand side dense vector expression. | |
using | RightIteratorType = ConstIterator_t< VT2 > |
ConstIterator type of the right-hand side dense vector expression. | |
Public Member Functions | |
ConstIterator (LeftIteratorType left, RightIteratorType right, OP op) | |
Constructor for the ConstIterator class. More... | |
BLAZE_DEVICE_CALLABLE ConstIterator & | operator+= (size_t inc) |
Addition assignment operator. More... | |
BLAZE_DEVICE_CALLABLE ConstIterator & | operator-= (size_t dec) |
Subtraction assignment operator. More... | |
BLAZE_DEVICE_CALLABLE ConstIterator & | operator++ () |
Pre-increment operator. More... | |
BLAZE_DEVICE_CALLABLE const ConstIterator | operator++ (int) |
Post-increment operator. More... | |
BLAZE_DEVICE_CALLABLE ConstIterator & | operator-- () |
Pre-decrement operator. More... | |
BLAZE_DEVICE_CALLABLE const ConstIterator | operator-- (int) |
Post-decrement operator. More... | |
ReturnType | operator * () const |
Direct access to the element at the current iterator position. More... | |
auto | load () const noexcept |
Access to the SIMD elements of the vector. 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... | |
bool | operator< (const ConstIterator &rhs) const |
Less-than comparison between two ConstIterator objects. More... | |
bool | operator> (const ConstIterator &rhs) const |
Greater-than comparison between two ConstIterator objects. More... | |
bool | operator<= (const ConstIterator &rhs) const |
Less-than comparison between two ConstIterator objects. More... | |
bool | operator>= (const ConstIterator &rhs) const |
Greater-than comparison between two ConstIterator objects. More... | |
DifferenceType | operator- (const ConstIterator &rhs) const |
Calculating the number of elements between two iterators. More... | |
Private Attributes | |
LeftIteratorType | left_ |
Iterator to the current left-hand side element. | |
RightIteratorType | right_ |
Iterator to the current right-hand side element. | |
OP | op_ |
The custom unary operation. | |
Friends | |
const ConstIterator | operator+ (const ConstIterator &it, size_t inc) |
Addition between a ConstIterator and an integral value. More... | |
const ConstIterator | operator+ (size_t inc, const ConstIterator &it) |
Addition between an integral value and a ConstIterator. More... | |
const ConstIterator | operator- (const ConstIterator &it, size_t dec) |
Subtraction between a ConstIterator and an integral value. More... | |
Iterator over the elements of the dense vector map expression.
|
inlineexplicit |
Constructor for the ConstIterator class.
left | Iterator to the initial left-hand side element. |
right | Iterator to the initial right-hand side element. |
op | The custom unary operation. |
|
inlinenoexcept |
Access to the SIMD elements of the vector.
|
inline |
Direct access to the element at the current iterator position.
|
inline |
Inequality comparison between two ConstIterator objects.
rhs | The right-hand side iterator. |
|
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. |
|
friend |
Addition between a ConstIterator and an integral value.
it | The iterator to be incremented. |
inc | The number of elements the iterator is incremented. |
|
friend |
Addition between an integral value and a ConstIterator.
inc | The number of elements the iterator is incremented. |
it | The iterator to be incremented. |
|
friend |
Subtraction between a ConstIterator and an integral value.
it | The iterator to be decremented. |
dec | The number of elements the iterator is decremented. |