ARTS 2.5.4 (git: 4c0d3b4d)
|
The row iterator class for sub matrices. More...
#include <matpack_complex.h>
Public Member Functions | |
ComplexIterator2D ()=default | |
Default constructor. More... | |
ComplexIterator2D (const ComplexVectorView &x, Index stride) | |
Explicit constructor. More... | |
ComplexIterator2D & | operator++ () |
Prefix increment operator. More... | |
bool | operator!= (const ComplexIterator2D &other) const |
Not equal operator, needed for algorithms like copy. More... | |
ComplexVectorView * | operator-> () |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. More... | |
ComplexVectorView & | operator* () |
Dereferencing. More... | |
Private Attributes | |
ComplexVectorView | msv |
Current position. More... | |
Index | mstride {0} |
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 ComplexVectorView.
Definition at line 499 of file matpack_complex.h.
|
default |
Default constructor.
|
inline |
Explicit constructor.
Definition at line 506 of file matpack_complex.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 518 of file matpack_complex.h.
References ConstComplexVectorView::mdata, ConstComplexVectorView::mrange, Range::mstart, and msv.
|
inline |
Dereferencing.
Definition at line 530 of file matpack_complex.h.
|
inline |
Prefix increment operator.
Definition at line 512 of file matpack_complex.h.
|
inline |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 527 of file matpack_complex.h.
|
private |
Row stride.
Definition at line 536 of file matpack_complex.h.
|
private |