ARTS 2.5.10 (git: 2f1c442c)
|
The const row iterator class for sub matrices. More...
#include <matpackI.h>
Public Member Functions | |
ConstIterator2D ()=default | |
Default constructor. | |
ConstIterator2D (ConstVectorView x, Index stride) ARTS_NOEXCEPT | |
Explicit constructor. | |
ConstIterator2D & | operator++ () ARTS_NOEXCEPT |
Prefix increment operator. | |
bool | operator!= (const ConstIterator2D &other) const ARTS_NOEXCEPT |
Not equal operator, needed for algorithms like copy. | |
const ConstVectorView * | operator-> () const ARTS_NOEXCEPT |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. | |
const ConstVectorView & | operator* () const ARTS_NOEXCEPT |
Dereferencing. | |
Private Attributes | |
ConstVectorView | msv |
Current position. | |
Index | mstride {0} |
Row stride. | |
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 859 of file matpackI.h.
|
default |
Default constructor.
|
inline |
Explicit constructor.
Definition at line 866 of file matpackI.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 879 of file matpackI.h.
|
inline |
Dereferencing.
Definition at line 891 of file matpackI.h.
|
inline |
Prefix increment operator.
Definition at line 873 of file matpackI.h.
|
inline |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 888 of file matpackI.h.
|
private |
Row stride.
Definition at line 897 of file matpackI.h.
|
private |
Current position.
Definition at line 895 of file matpackI.h.