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