ARTS
2.0.49
|
Implementation of Tensors of Rank 3. More...
#include <matpackIII.h>
Public Member Functions | |
Iterator3D () | |
Default constructor. More... | |
Iterator3D (const Iterator3D &o) | |
Copy 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 |
Stride. More... | |
Implementation of Tensors of Rank 3.
The three dimensions are called: page, row, column.
Definition at line 34 of file matpackIII.h.
|
inline |
Default constructor.
Definition at line 38 of file matpackIII.h.
|
inline |
Copy constructor.
Definition at line 41 of file matpackIII.h.
|
inline |
Explicit constructor.
Definition at line 45 of file matpackIII.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 54 of file matpackIII.h.
References ConstMatrixView::mcr, ConstMatrixView::mdata, ConstMatrixView::mrr, Range::mstart, and msv.
|
inline |
|
inline |
Prefix increment operator.
Definition at line 50 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 69 of file matpackIII.h.
References msv.
|
private |
|
private |
Current position.
Definition at line 76 of file matpackIII.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().