![]() |
Iterator over the elements of the dense matrix. More...
#include <DMatScalarMultExpr.h>
Public Types | |
typedef std::random_access_iterator_tag | IteratorCategory |
The iterator category. | |
typedef ElementType | ValueType |
Type of the underlying elements. | |
typedef ElementType * | PointerType |
Pointer return type. | |
typedef ElementType & | 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 elements. | |
typedef PointerType | pointer |
Pointer return type. | |
typedef ReferenceType | reference |
Reference return type. | |
typedef DifferenceType | difference_type |
Difference between two iterators. | |
typedef ConstIterator_< MT > | IteratorType |
ConstIterator type of the dense matrix expression. | |
Public Member Functions | |
ConstIterator (IteratorType iterator, RightOperand scalar) | |
Constructor for the ConstIterator class. More... | |
ConstIterator & | operator+= (size_t inc) |
Addition assignment operator. More... | |
ConstIterator & | operator-= (size_t dec) |
Subtraction assignment operator. More... | |
ConstIterator & | operator++ () |
Pre-increment operator. More... | |
const ConstIterator | operator++ (int) |
Post-increment operator. More... | |
ConstIterator & | operator-- () |
Pre-decrement operator. More... | |
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 matrix. 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 | |
IteratorType | iterator_ |
Iterator to the current element. | |
RightOperand | scalar_ |
Scalar of the multiplication expression. | |
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 matrix.
|
inlineexplicit |
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 matrix.
|
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. |
|
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. |