ARTS
2.4.0(git:4fb77825)
|
The const row iterator class for sub matrices. More...
#include <complex.h>
Public Member Functions | |
ConstComplexIterator2D ()=default | |
Default constructor. More... | |
ConstComplexIterator2D (const ConstComplexVectorView &x, Index stride) | |
Explicit constructor. More... | |
ConstComplexIterator2D & | operator++ () |
Prefix increment operator. More... | |
bool | operator!= (const ConstComplexIterator2D &other) const |
Not equal operator, needed for algorithms like copy. More... | |
const ConstComplexVectorView * | operator-> () const |
The -> operator is needed, so that we can write i->begin() to get t he 1D iterators. More... | |
const ConstComplexVectorView & | operator* () const |
Dereferencing. More... | |
Private Attributes | |
ConstComplexVectorView | 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 ComplexVectorView.
|
default |
Default constructor.
|
inline |
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 541 of file complex.h.
References ConstComplexVectorView::mdata, ConstComplexVectorView::mrange, Range::mstart, and msv.
|
inline |
|
inline |
Prefix increment operator.
Definition at line 535 of file complex.h.
References ConstComplexVectorView::mdata, mstride, and msv.
|
inline |
|
private |
|
private |
Current position.
Definition at line 558 of file complex.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().