|
Blaze 3.9
|
Iterator over the elements of the sparse matrix/dense matrix Schur product expression. More...
#include <SMatDMatSchurExpr.h>
Public Types | |
| using | Element = ValueIndexPair<ElementType> |
| Element type of the sparse matrix expression. | |
| using | LeftIterator = ConstIterator_t< RemoveReference_t<LeftOperand> > |
| Iterator type of the sparse matrix expression. | |
| using | IteratorCategory = std::forward_iterator_tag |
| The iterator category. | |
| using | ValueType = Element |
| Type of the underlying pointers. | |
| using | PointerType = ValueType* |
| Pointer return type. | |
| using | ReferenceType = ValueType& |
| 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 pointers. | |
| using | pointer = PointerType |
| Pointer return type. | |
| using | reference = ReferenceType |
| Reference return type. | |
| using | difference_type = DifferenceType |
| Difference between two iterators. | |
Public Member Functions | |
| ConstIterator (LeftIterator left, RightOperand right, size_t row) | |
| Constructor for the ConstIterator class. | |
| ConstIterator & | operator++ () |
| Pre-increment operator. | |
| const Element | operator* () const |
| Direct access to the sparse matrix element at the current iterator position. | |
| const ConstIterator * | operator-> () const |
| Direct access to the sparse matrix element at the current iterator position. | |
| ReturnType | value () const |
| Access to the current value of the sparse element. | |
| size_t | index () const |
| Access to the current index of the sparse element. | |
| bool | operator== (const ConstIterator &rhs) const |
| Equality comparison between two ConstIterator objects. | |
| bool | operator!= (const ConstIterator &rhs) const |
| Inequality comparison between two ConstIterator objects. | |
| DifferenceType | operator- (const ConstIterator &rhs) const |
| Calculating the number of elements between two expression iterators. | |
Private Attributes | |
| LeftIterator | left_ |
| Iterator over the elements of the left-hand side sparse matrix expression. | |
| RightOperand | right_ |
| Right-hand side dense matrix expression. | |
| size_t | row_ |
| The row index of the iterator. | |
Iterator over the elements of the sparse matrix/dense matrix Schur product expression.
|
inline |
Constructor for the ConstIterator class.
| left | Iterator to the current position in the left-hand side sparse matrix expression. |
| right | Handle to the right-hand side dense matrix expression. |
| row | The row index of the given iterator. |
|
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.