ARTS
2.3.1285(git:92a29ea9-dirty)
|
Implementation of Tensors of Rank 3. More...
#include <matpackIII.h>
Public Member Functions | |
Iterator3D ()=default | |
Default constructor. More... | |
Iterator3D (const MatrixView &x, Index stride) | |
Explicit constructor. More... | |
Iterator3D & | operator++ () |
Prefix increment operator. More... | |
bool | operator!= (const Iterator3D &other) const |
Not equal operator, needed for algorithms like copy. More... | |
MatrixView * | operator-> () |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators. More... | |
MatrixView & | operator* () |
Dereferencing. More... | |
Private Attributes | |
MatrixView | msv |
Current position. More... | |
Index | mstride {0} |
Stride. More... | |
Implementation of Tensors of Rank 3.
The three dimensions are called: page, row, column.
Definition at line 34 of file matpackIII.h.
|
default |
Default constructor.
|
inline |
Explicit constructor.
Definition at line 41 of file matpackIII.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 53 of file matpackIII.h.
References ConstMatrixView::mcr, ConstMatrixView::mdata, ConstMatrixView::mrr, Range::mstart, and msv.
|
inline |
|
inline |
Prefix increment operator.
Definition at line 47 of file matpackIII.h.
References ConstMatrixView::mdata, mstride, and msv.
|
inline |
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Definition at line 63 of file matpackIII.h.
References msv.
|
private |
Stride.
Definition at line 72 of file matpackIII.h.
Referenced by operator++(), and ConstIterator3D::operator++().
|
private |
Current position.
Definition at line 70 of file matpackIII.h.
Referenced by operator!=(), ConstIterator3D::operator!=(), operator*(), ConstIterator3D::operator*(), operator++(), ConstIterator3D::operator++(), operator->(), and ConstIterator3D::operator->().