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