ARTS
2.2.66
|
The row iterator class for sub matrices. More...
#include <matpackI.h>
Public Member Functions | |
Iterator2D () | |
Default constructor. More... | |
Iterator2D (const VectorView &x, Index stride) | |
Explicit constructor. More... | |
Iterator2D & | operator++ () |
Prefix increment operator. More... | |
bool | operator!= (const Iterator2D &other) const |
Not equal operator, needed for algorithms like copy. More... | |
VectorView * | operator-> () |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. More... | |
VectorView & | operator* () |
Dereferencing. More... | |
Private Attributes | |
VectorView | msv |
Current position. More... | |
Index | mstride |
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 468 of file matpackI.h.
|
inline |
Default constructor.
Definition at line 472 of file matpackI.h.
|
inline |
Explicit constructor.
Definition at line 475 of file matpackI.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 483 of file matpackI.h.
References ConstVectorView::mdata, ConstVectorView::mrange, Range::mstart, and msv.
|
inline |
Dereferencing.
Definition at line 496 of file matpackI.h.
|
inline |
Prefix increment operator.
Definition at line 480 of file matpackI.h.
|
inline |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 493 of file matpackI.h.
|
private |
Row stride.
Definition at line 502 of file matpackI.h.
|
private |