ARTS 2.5.4 (git: 4c0d3b4d)
|
The row iterator class for sub matrices. More...
#include <matpackI.h>
Public Member Functions | |
Iterator2D ()=default | |
Default constructor. More... | |
Iterator2D (const VectorView &x, Index stride) ARTS_NOEXCEPT | |
Explicit constructor. More... | |
Iterator2D & | operator++ () ARTS_NOEXCEPT |
Prefix increment operator. More... | |
bool | operator!= (const Iterator2D &other) const ARTS_NOEXCEPT |
Not equal operator, needed for algorithms like copy. More... | |
VectorView * | operator-> () ARTS_NOEXCEPT |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. More... | |
VectorView & | operator* () ARTS_NOEXCEPT |
Dereferencing. More... | |
Private Attributes | |
VectorView | msv |
Current position. More... | |
Index | mstride {0} |
Row stride. More... | |
The row iterator class for sub matrices.
This takes into account the defined row stride. The iterator points to a row of the matrix, which acts just like a VectorView.
Definition at line 813 of file matpackI.h.
|
default |
Default constructor.
|
inline |
Explicit constructor.
Definition at line 820 of file matpackI.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 833 of file matpackI.h.
|
inline |
Dereferencing.
Definition at line 845 of file matpackI.h.
|
inline |
Prefix increment operator.
Definition at line 827 of file matpackI.h.
|
inline |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 842 of file matpackI.h.
|
private |
Row stride.
Definition at line 851 of file matpackI.h.
|
private |
Current position.
Definition at line 849 of file matpackI.h.