ARTS 2.5.10 (git: 2f1c442c)
|
Implementation of Tensors of Rank 4. More...
#include <matpackIV.h>
Public Member Functions | |
Iterator4D ()=default | |
Default constructor. | |
Iterator4D (const Tensor3View &x, Index stride) | |
Explicit constructor. | |
Iterator4D & | operator++ () |
Prefix increment operator. | |
bool | operator!= (const Iterator4D &other) const |
Not equal operator, needed for algorithms like copy. | |
Tensor3View * | operator-> () |
The -> operator is needed, so that we can write i->begin() to get the 3D iterators. | |
Tensor3View & | operator* () |
Dereferencing. | |
Private Attributes | |
Tensor3View | msv |
Current position. | |
Index | mstride {0} |
Stride. | |
Implementation of Tensors of Rank 4.
Based on Tensor3 by Stefan Buehler.
The four dimensions are called: book, page, row, column.
Definition at line 40 of file matpackIV.h.
|
default |
Default constructor.
|
inline |
Explicit constructor.
Definition at line 47 of file matpackIV.h.
|
inline |
Not equal operator, needed for algorithms like copy.
Definition at line 59 of file matpackIV.h.
References ConstTensor3View::mcr, ConstTensor3View::mdata, ConstTensor3View::mpr, ConstTensor3View::mrr, Range::mstart, and msv.
Tensor3View & Iterator4D::operator* | ( | ) |
|
inline |
Prefix increment operator.
Definition at line 53 of file matpackIV.h.
References ConstTensor3View::mdata, mstride, and msv.
Tensor3View * Iterator4D::operator-> | ( | ) |
The -> operator is needed, so that we can write i->begin() to get the 3D iterators.
Definition at line 31 of file matpackIV.cc.
References msv.
|
private |
|
private |
Current position.
Definition at line 72 of file matpackIV.h.
Referenced by operator!=(), operator*(), operator++(), and operator->().