ARTS
2.3.1285(git:92a29ea9-dirty)
|
The const row iterator class for sub matrices. More...
#include <matpackI.h>
Public Member Functions | |
ConstIterator2D ()=default | |
Default constructor. More... | |
ConstIterator2D (const ConstVectorView &x, Index stride) | |
Explicit constructor. More... | |
ConstIterator2D & | operator++ () |
Prefix increment operator. More... | |
bool | operator!= (const ConstIterator2D &other) const |
Not equal operator, needed for algorithms like copy. More... | |
const ConstVectorView * | operator-> () const |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. More... | |
const ConstVectorView & | operator* () const |
Dereferencing. More... | |
Private Attributes | |
ConstVectorView | msv |
Current position. More... | |
Index | mstride {0} |
Row stride. More... | |
The const 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 809 of file matpackI.h.
|
default |
Default constructor.
|
inline |
Explicit constructor.
Definition at line 816 of file matpackI.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 828 of file matpackI.h.
References ConstVectorView::mdata, ConstVectorView::mrange, Range::mstart, and msv.
|
inline |
Dereferencing.
Definition at line 841 of file matpackI.h.
|
inline |
Prefix increment operator.
Definition at line 822 of file matpackI.h.
|
inline |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 838 of file matpackI.h.
|
private |
Row stride.
Definition at line 847 of file matpackI.h.
|
private |