ARTS 2.5.4 (git: 4c0d3b4d)
|
The Tensor6View class. More...
#include <matpackVI.h>
Protected Member Functions | |
Tensor6View ()=default | |
Tensor6View (Numeric *data, const Range &v, const Range &s, const Range &b, const Range &p, const Range &r, const Range &c) | |
Explicit constructor. More... | |
Tensor6View (Numeric *data, const Range &pv, const Range &ps, const Range &pb, const Range &pp, const Range &pr, const Range &pc, const Range &nv, const Range &ns, const Range &nb, const Range &np, const Range &nr, const Range &nc) | |
Recursive constructor. More... | |
![]() | |
ConstTensor6View ()=default | |
ConstTensor6View (Numeric *data, const Range &v, const Range &s, const Range &b, const Range &p, const Range &r, const Range &c) | |
Explicit constructor. More... | |
ConstTensor6View (Numeric *data, const Range &pv, const Range &ps, const Range &pb, const Range &pp, const Range &pr, const Range &pc, const Range &nv, const Range &ns, const Range &nb, const Range &np, const Range &nr, const Range &nc) | |
Recursive constructor. More... | |
Friends | |
class | Iterator7D |
class | Tensor7View |
Additional Inherited Members | |
![]() | |
Range | mvr {0, 0, 1} |
The vitrine range of mdata that is actually used. More... | |
Range | msr {0, 0, 1} |
The shelf range of mdata that is actually used. More... | |
Range | mbr {0, 0, 1} |
The book range of mdata that is actually used. More... | |
Range | mpr {0, 0, 1} |
The page range of mdata that is actually used. More... | |
Range | mrr {0, 0, 1} |
The row range of mdata that is actually used. More... | |
Range | mcr {0, 0, 1} |
The column range of mdata that is actually used. More... | |
Numeric * | mdata {nullptr} |
Pointer to the plain C array that holds the data. More... | |
The Tensor6View class.
This contains the main implementation of a Tensor6. It defines the concepts of Tensor6View. Plus additionally the recursive subrange operator, which makes it possible to create a Tensor6View from a subrange of a Tensor6View.
The class Tensor6 is just a special case of a Tensor6View which also allocates storage.
Definition at line 630 of file matpackVI.h.
|
constexprdefault |
|
virtualdefault |
Tensor6View::Tensor6View | ( | const Tensor5View & | a | ) |
Special constructor to make a Tensor6 view of a Tensor5.
Definition at line 1936 of file matpackVI.cc.
|
protecteddefault |
Referenced by operator()().
|
protected |
Explicit constructor.
This one is used by Tensor6 to initialize its own Tensor6View part. The row range rr must have a stride to account for the length of one row.
Definition at line 1953 of file matpackVI.cc.
|
protected |
Recursive constructor.
This is used to construct SubMatrices from SubMatrices. That means that the new ranges have to be interpreted relative to the original ranges.
The new ranges may contain -1 for the extent which acts as a joker. However, the used Range constructor converts this to an explicit range, consistent with the original Range.
*data | The actual data. |
pv | Previous range. |
ps | Previous range. |
pb | Previous range. |
pp | Previous range. |
pr | Previous range. |
pc | Previous range. |
nv | New Range. |
ns | New Range. |
nb | New Range. |
np | New Range. |
nr | New Range. |
nc | New Range. |
Definition at line 1986 of file matpackVI.cc.
Iterator6D Tensor6View::begin | ( | ) |
Return iterator to first sub-tensor.
Definition at line 1753 of file matpackVI.cc.
References ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, Range::mstart, Range::mstride, and ConstTensor6View::mvr.
Referenced by copy(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), Tensor6::Tensor6(), and transform().
ConstIterator6D ConstTensor6View::begin | ( | ) | const |
Return const iterator to first sub-tensor.
Definition at line 565 of file matpackVI.cc.
Iterator6D Tensor6View::end | ( | ) |
Return iterator behind last sub-tensor.
Definition at line 1759 of file matpackVI.cc.
References ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, Range::mextent, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, Range::mstart, Range::mstride, and ConstTensor6View::mvr.
Referenced by copy(), operator*=(), operator+=(), operator-=(), operator/=(), and operator=().
ConstIterator6D ConstTensor6View::end | ( | ) | const |
Return const iterator behind last sub-tensor.
Definition at line 566 of file matpackVI.cc.
Get element implementation without assertions.
Definition at line 1024 of file matpackVI.h.
References b, c, ConstTensor6View::mdata, OFFSET, and v.
Referenced by interpweights(), and operator()().
Get element implementation without assertions.
Definition at line 558 of file matpackVI.h.
Numeric * Tensor6View::get_c_array | ( | ) |
Conversion to plain C-array.
This function returns a pointer to the raw data. It fails if the Tensor5View is not pointing to the beginning of a Tensor5 or the stride is not 1 because the caller expects to get a C array with continuous data.
Definition at line 1684 of file matpackVI.cc.
References ARTS_ASSERT, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, Range::mextent, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, Range::mstart, Range::mstride, ConstTensor6View::mvr, and ConstTensor6View::size().
const Numeric * Tensor6View::get_c_array | ( | ) | const |
Conversion to plain C-array.
This function returns a pointer to the raw data. It fails if the Tensor5View is not pointing to the beginning of a Tensor5 or the stride is not 1 because the caller expects to get a C array with continuous data.
Definition at line 1721 of file matpackVI.cc.
References ARTS_ASSERT, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, Range::mextent, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, Range::mstart, Range::mstride, ConstTensor6View::mvr, and ConstTensor6View::size().
Referenced by Reduce().
Tensor6View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 954 of file matpackVI.cc.
References b, c, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, ConstTensor6View::mvr, Tensor6View(), and v.
Tensor5View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 965 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor5View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 976 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1032 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor5View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 987 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1045 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1097 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1228 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor5View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 998 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1058 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1110 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1238 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1149 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1268 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
Index | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1328 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | const Range & | v, |
const Range & | s, | ||
Index | b, | ||
Index | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1583 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::msr, ConstTensor6View::mvr, OFFSET, and v.
Tensor5View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1009 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1071 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1123 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1248 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1162 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1278 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1338 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mvr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1572 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mvr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1188 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1298 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1358 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mvr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1550 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mvr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1388 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::mvr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1517 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::mvr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | const Range & | v, |
Index | s, | ||
Index | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1473 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mvr, OFFSET, and v.
Definition at line 1665 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mvr, OFFSET, and v.
Tensor5View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1020 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1084 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1136 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::msr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1258 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::msr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1175 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::msr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1288 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::msr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1348 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::msr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1561 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::msr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1201 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1308 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1368 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::msr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1539 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::msr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1398 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::msr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1506 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mrr, ConstTensor6View::msr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
const Range & | s, | ||
Index | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1462 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::msr, OFFSET, and v.
Definition at line 1651 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::msr, OFFSET, and v.
Tensor4View Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1214 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1318 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1378 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) |
Definition at line 1528 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mpr, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1408 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mrr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1495 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, ConstTensor6View::mrr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1451 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mcr, ConstTensor6View::mdata, OFFSET, and v.
Definition at line 1637 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mbr, ConstTensor6View::mdata, OFFSET, and v.
Tensor3View Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1418 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) |
Definition at line 1484 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mpr, ConstTensor6View::mrr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) |
Definition at line 1440 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mpr, OFFSET, and v.
Definition at line 1623 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mpr, OFFSET, and v.
MatrixView Tensor6View::operator() | ( | Index | v, |
Index | s, | ||
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) |
Definition at line 1429 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, ConstTensor6View::mrr, OFFSET, and v.
Definition at line 1609 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mdata, ConstTensor6View::mrr, OFFSET, and v.
Definition at line 1595 of file matpackVI.cc.
References b, c, CHECK, ConstTensor6View::mcr, ConstTensor6View::mdata, OFFSET, and v.
Tensor6View & Tensor6View::operator*= | ( | const ConstTensor6View & | x | ) |
Element-vise multiplication by another Tensor6.
Definition at line 1868 of file matpackVI.cc.
References ARTS_ASSERT, begin(), ConstTensor6View::begin(), end(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), and ConstTensor6View::nvitrines().
Tensor6View & Tensor6View::operator*= | ( | Numeric | x | ) |
Multiplication by scalar.
Definition at line 1832 of file matpackVI.cc.
Tensor6View & Tensor6View::operator+= | ( | const ConstTensor6View & | x | ) |
Element-vise addition of another Tensor6.
Definition at line 1902 of file matpackVI.cc.
References ARTS_ASSERT, begin(), ConstTensor6View::begin(), end(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), and ConstTensor6View::nvitrines().
Tensor6View & Tensor6View::operator+= | ( | Numeric | x | ) |
Tensor6View & Tensor6View::operator-= | ( | const ConstTensor6View & | x | ) |
Element-vise subtraction of another Tensor6.
Definition at line 1919 of file matpackVI.cc.
References ARTS_ASSERT, begin(), ConstTensor6View::begin(), end(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), and ConstTensor6View::nvitrines().
Tensor6View & Tensor6View::operator-= | ( | Numeric | x | ) |
Tensor6View & Tensor6View::operator/= | ( | const ConstTensor6View & | x | ) |
Element-vise division by another Tensor6.
Definition at line 1885 of file matpackVI.cc.
References ARTS_ASSERT, begin(), ConstTensor6View::begin(), end(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), and ConstTensor6View::nvitrines().
Tensor6View & Tensor6View::operator/= | ( | Numeric | x | ) |
Tensor6View & Tensor6View::operator= | ( | const ConstTensor6View & | m | ) |
Assignment operator.
This copies the data from another Tensor6View to this Tensor6View. Dimensions must agree! Resizing would destroy the selection that we might have done in this Tensor6View by setting its range.
Definition at line 1774 of file matpackVI.cc.
References ARTS_ASSERT, begin(), ConstTensor6View::begin(), copy(), ConstTensor6View::end(), ConstTensor6View::mbr, ConstTensor6View::mcr, Range::mextent, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, and ConstTensor6View::mvr.
Tensor6View & Tensor6View::operator= | ( | const Tensor6 & | m | ) |
Assignment from a Tensor6.
This must exist to overide the automatically generated assignment operators, which don't copy the contents!
Definition at line 1808 of file matpackVI.cc.
References ARTS_ASSERT, begin(), copy(), end(), ConstTensor6View::mbr, ConstTensor6View::mcr, Range::mextent, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, and ConstTensor6View::mvr.
Tensor6View & Tensor6View::operator= | ( | const Tensor6View & | m | ) |
Assignment from Tensor6View to Tensor6View.
This is a tricky one. The problem is that since Tensor6View is derived from ConstTensor6View, a default = operator is generated by the compiler, which does not do what we want. So we need this one to override the default.
Definition at line 1792 of file matpackVI.cc.
References ARTS_ASSERT, begin(), copy(), end(), ConstTensor6View::mbr, ConstTensor6View::mcr, Range::mextent, ConstTensor6View::mpr, ConstTensor6View::mrr, ConstTensor6View::msr, and ConstTensor6View::mvr.
Tensor6View & Tensor6View::operator= | ( | Numeric | x | ) |
Assigning a scalar to a Tensor6View will set all elements to this value.
Definition at line 1823 of file matpackVI.cc.
|
friend |
Definition at line 1058 of file matpackVI.h.
|
friend |
Definition at line 1059 of file matpackVI.h.