ARTS 2.5.4 (git: 4c0d3b4d)
|
A constant view of a Tensor5. More...
#include <matpackV.h>
Public Member Functions | |
constexpr | ConstTensor5View (const ConstTensor5View &)=default |
constexpr | ConstTensor5View (ConstTensor5View &&)=default |
ConstTensor5View & | operator= (const ConstTensor5View &)=default |
ConstTensor5View & | operator= (ConstTensor5View &&)=default |
Index | nshelves () const noexcept |
Index | nbooks () const noexcept |
Index | npages () const noexcept |
Index | nrows () const noexcept |
Index | ncols () const noexcept |
Index | size () const noexcept |
bool | empty () const noexcept |
Shape< 5 > | shape () const |
ConstTensor5View | operator() (const Range &s, const Range &b, const Range &p, const Range &r, const Range &c) const |
Const index operator for subrange. More... | |
ConstTensor4View | operator() (const Range &s, const Range &b, const Range &p, const Range &r, Index c) const |
Const index operator returning an object of type ConstTensor4View. More... | |
ConstTensor4View | operator() (const Range &s, const Range &b, const Range &p, Index r, const Range &c) const |
Const index operator returning an object of type ConstTensor4View. More... | |
ConstTensor4View | operator() (const Range &s, const Range &b, Index p, const Range &r, const Range &c) const |
Const index operator returning an object of type ConstTensor4View. More... | |
ConstTensor4View | operator() (const Range &s, Index b, const Range &p, const Range &r, const Range &c) const |
Const index operator returning an object of type ConstTensor4View. More... | |
ConstTensor4View | operator() (Index s, const Range &b, const Range &p, const Range &r, const Range &c) const |
Const index operator returning an object of type ConstTensor4View. More... | |
ConstTensor3View | operator() (const Range &s, const Range &b, const Range &p, Index r, Index c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (const Range &s, const Range &b, Index p, const Range &r, Index c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (const Range &s, const Range &b, Index p, Index r, const Range &c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (const Range &s, Index b, const Range &p, Index r, const Range &c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (const Range &s, Index b, const Range &p, const Range &r, Index c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (const Range &s, Index b, Index p, const Range &r, const Range &c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (Index s, const Range &b, Index p, const Range &r, const Range &c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (Index s, const Range &b, const Range &p, Index r, const Range &c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (Index s, const Range &b, const Range &p, const Range &r, Index c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstTensor3View | operator() (Index s, Index b, const Range &p, const Range &r, const Range &c) const |
Const index operator returning an object of type ConstTensor3View. More... | |
ConstMatrixView | operator() (const Range &s, const Range &b, Index p, Index r, Index c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (const Range &s, Index b, const Range &p, Index r, Index c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (const Range &s, Index b, Index p, const Range &r, Index c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (const Range &s, Index b, Index p, Index r, const Range &c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (Index s, const Range &b, Index p, Index r, const Range &c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (Index s, const Range &b, Index p, const Range &r, Index c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (Index s, const Range &b, const Range &p, Index r, Index c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (Index s, Index b, const Range &p, const Range &r, Index c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (Index s, Index b, const Range &p, Index r, const Range &c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstMatrixView | operator() (Index s, Index b, Index p, const Range &r, const Range &c) const |
Const index operator returning an object of type ConstMatrixView. More... | |
ConstVectorView | operator() (const Range &s, Index b, Index p, Index r, Index c) const |
Const index operator returning an object of type ConstVectorView. More... | |
ConstVectorView | operator() (Index s, const Range &b, Index p, Index r, Index c) const |
Const index operator returning an object of type ConstVectorView. More... | |
ConstVectorView | operator() (Index s, Index b, const Range &p, Index r, Index c) const |
Const index operator returning an object of type ConstVectorView. More... | |
ConstVectorView | operator() (Index s, Index b, Index p, const Range &r, Index c) const |
Const index operator returning an object of type ConstVectorView. More... | |
ConstVectorView | operator() (Index s, Index b, Index p, Index r, const Range &c) const |
Const index operator returning an object of type ConstVectorView. More... | |
Numeric | operator() (Index s, Index b, Index p, Index r, Index c) const |
Plain const index operator. More... | |
Numeric | get (Index s, Index b, Index p, Index r, Index c) const |
Get element implementation without assertions. More... | |
ConstIterator5D | begin () const |
Return const iterator to first shelf. More... | |
ConstIterator5D | end () const |
Return const iterator behind last shelf. More... | |
virtual | ~ConstTensor5View ()=default |
Destructor. More... | |
ConstTensor5View (const ConstTensor4View &a) | |
Special constructor to make a Tensor5 view of a Tensor4. More... | |
Protected Member Functions | |
ConstTensor5View ()=default | |
ConstTensor5View (Numeric *data, const Range &s, const Range &b, const Range &p, const Range &r, const Range &c) | |
Explicit constructor. More... | |
ConstTensor5View (Numeric *data, const Range &ps, const Range &pb, const Range &pp, const Range &pr, const Range &pc, const Range &ns, const Range &nb, const Range &np, const Range &nr, const Range &nc) | |
Recursive constructor. More... | |
Protected Attributes | |
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... | |
Friends | |
class | Tensor5View |
class | ConstIterator6D |
class | ConstTensor6View |
class | ConstTensor7View |
A constant view of a Tensor5.
This, together with the derived class Tensor5View, contains the main implementation of a Tensor5. It defines the concepts of Tensor5View. Plus additionally the recursive subrange operator, which makes it possible to create a Tensor5View from a subrange of a Tensor5View.
The five dimensions of the tensor are called: shelf, book, page, row, column.
The class Tensor5 is just a special case of a Tensor5View which also allocates storage.
Definition at line 141 of file matpackV.h.
|
constexprdefault |
|
constexprdefault |
|
virtualdefault |
Destructor.
ConstTensor5View::ConstTensor5View | ( | const ConstTensor4View & | a | ) |
Special constructor to make a Tensor5 view of a Tensor4.
Definition at line 702 of file matpackV.cc.
|
protecteddefault |
Referenced by operator()().
|
protected |
Explicit constructor.
This one is used by Tensor5 to initialize its own Tensor5View part. The book range br must have a stride to account for the length of one book. The shelf range sr must have a stride to account for the length of one shelf.
Definition at line 716 of file matpackV.cc.
|
protected |
Recursive constructor.
This is used to construct sub-tensors from sub-tensors. 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.
Definition at line 733 of file matpackV.cc.
ConstIterator5D ConstTensor5View::begin | ( | ) | const |
Return const iterator to first shelf.
Definition at line 688 of file matpackV.cc.
References mbr, mcr, mdata, mpr, mrr, msr, Range::mstart, and Range::mstride.
Referenced by copy(), max(), min(), Tensor5View::operator*=(), Tensor5View::operator+=(), Tensor5View::operator-=(), Tensor5View::operator/=(), Tensor5View::operator=(), Tensor5::Tensor5(), and transform().
|
inlinenoexcept |
Definition at line 159 of file matpackV.h.
References size().
ConstIterator5D ConstTensor5View::end | ( | ) | const |
Return const iterator behind last shelf.
Definition at line 694 of file matpackV.cc.
References mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
Referenced by copy(), max(), min(), Tensor5View::operator=(), Tensor5::Tensor5(), and transform().
Get element implementation without assertions.
Definition at line 273 of file matpackV.h.
References b, c, mbr, mcr, mdata, mpr, mrr, msr, Range::mstart, and Range::mstride.
Referenced by interp(), and operator()().
|
inlinenoexcept |
Definition at line 150 of file matpackV.h.
References mbr, and Range::mextent.
Referenced by bulk_backscatter(), bulk_backscatter_derivative(), GriddedField5::checksize(), chk_size(), ConvertAzimuthallyRandomSingleScatteringData(), describe(), Extract(), Interpolation::interp(), irradiance_fieldFromRadiance(), is_size(), nca_write_to_file(), Tensor5View::operator*=(), Tensor5View::operator+=(), Tensor5View::operator-=(), Tensor5View::operator/=(), Tensor5::operator=(), opt_prop_1ScatElem(), pha_matCalc(), RadiationFieldSpectralIntegrate(), Reduce(), Tensor5::reduce_rank(), select_dims_by_size(), shape(), size(), spectral_irradiance_fieldFromSpectralRadianceField(), surface_complex_refr_indexFromGriddedField5(), Tensor5::Tensor5(), Tensor5Multiply(), transform(), and xml_write_to_stream().
|
inlinenoexcept |
Definition at line 153 of file matpackV.h.
References mcr, and Range::mextent.
Referenced by bulk_backscatter(), bulk_backscatter_derivative(), GriddedField5::checksize(), chk_size(), cloud_fieldsCalc(), ConvertAzimuthallyRandomSingleScatteringData(), describe(), Extract(), Interpolation::interp(), interpolate_scat_angle(), is_size(), nca_write_to_file(), Tensor5View::operator*=(), Tensor5View::operator+=(), Tensor5View::operator-=(), Tensor5View::operator/=(), Tensor5::operator=(), opt_prop_1ScatElem(), pha_mat_sptFromData(), pha_mat_sptFromDataDOITOpt(), pha_mat_sptFromMonoData(), pha_mat_sptFromScat_data(), pha_matTransform(), RadiationFieldSpectralIntegrate(), Reduce(), Tensor5::reduce_rank(), ScatSpeciesExtendTemperature(), ScatSpeciesMerge(), select_dims_by_size(), shape(), size(), spectral_irradiance_fieldFromSpectralRadianceField(), surface_complex_refr_indexFromGriddedField5(), Tensor5::Tensor5(), Tensor5Multiply(), transform(), and xml_write_to_stream().
|
inlinenoexcept |
Definition at line 151 of file matpackV.h.
References Range::mextent, and mpr.
Referenced by bulk_backscatter(), bulk_backscatter_derivative(), GriddedField5::checksize(), chk_size(), describe(), Extract(), Interpolation::interp(), irradiance_fieldFromRadiance(), is_size(), nca_write_to_file(), Tensor5View::operator*=(), Tensor5View::operator+=(), Tensor5View::operator-=(), Tensor5View::operator/=(), Tensor5::operator=(), opt_prop_1ScatElem(), pha_matCalc(), pha_matTransform(), RadiationFieldSpectralIntegrate(), Reduce(), Tensor5::reduce_rank(), ScatSpeciesMerge(), select_dims_by_size(), shape(), size(), spectral_irradiance_fieldFromSpectralRadianceField(), surface_complex_refr_indexFromGriddedField5(), Tensor5::Tensor5(), Tensor5Multiply(), transform(), and xml_write_to_stream().
|
inlinenoexcept |
Definition at line 152 of file matpackV.h.
References Range::mextent, and mrr.
Referenced by GriddedField5::checksize(), chk_size(), cloud_fieldsCalc(), ConvertAzimuthallyRandomSingleScatteringData(), describe(), Extract(), Interpolation::interp(), irradiance_fieldFromRadiance(), is_size(), nca_write_to_file(), Tensor5View::operator*=(), Tensor5View::operator+=(), Tensor5View::operator-=(), Tensor5View::operator/=(), Tensor5::operator=(), opt_prop_1ScatElem(), pha_mat_sptFromMonoData(), pha_matCalc(), RadiationFieldSpectralIntegrate(), Reduce(), Tensor5::reduce_rank(), ScatSpeciesMerge(), select_dims_by_size(), shape(), size(), spectral_irradiance_fieldFromSpectralRadianceField(), surface_complex_refr_indexFromGriddedField5(), Tensor5::Tensor5(), Tensor5Multiply(), transform(), and xml_write_to_stream().
|
inlinenoexcept |
Definition at line 149 of file matpackV.h.
References Range::mextent, and msr.
Referenced by bulk_backscatter(), bulk_backscatter_derivative(), GriddedField5::checksize(), chk_size(), ConvertAzimuthallyRandomSingleScatteringData(), describe(), Extract(), Interpolation::interp(), irradiance_fieldFromRadiance(), is_size(), nca_write_to_file(), Tensor5View::operator*=(), Tensor5View::operator+=(), Tensor5View::operator-=(), Tensor5View::operator/=(), Tensor5::operator=(), opt_prop_1ScatElem(), pha_mat_sptFromData(), pha_mat_sptFromDataDOITOpt(), pha_mat_sptFromMonoData(), pha_mat_sptFromScat_data(), pha_matCalc(), RadiationFieldSpectralIntegrate(), Reduce(), Tensor5::reduce_rank(), ScatSpeciesMerge(), select_dims_by_size(), shape(), size(), spectral_irradiance_fieldFromSpectralRadianceField(), surface_complex_refr_indexFromGriddedField5(), Tensor5::Tensor5(), Tensor5Multiply(), transform(), and xml_write_to_stream().
ConstTensor4View ConstTensor5View::operator() | ( | const Range & | s, |
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstTensor4View.
(Reducing the dimension by one.)
Definition at line 47 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor4View ConstTensor5View::operator() | ( | const Range & | s, |
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor4View.
(Reducing the dimension by one.)
Definition at line 62 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | const Range & | s, |
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 122 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor4View ConstTensor5View::operator() | ( | const Range & | s, |
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor4View.
(Reducing the dimension by one.)
Definition at line 77 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | const Range & | s, |
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 142 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | const Range & | s, |
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 162 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | const Range & | s, |
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 322 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor4View ConstTensor5View::operator() | ( | const Range & | s, |
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor4View.
(Reducing the dimension by one.)
Definition at line 92 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | const Range & | s, |
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 202 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | const Range & | s, |
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 182 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | const Range & | s, |
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 342 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | const Range & | s, |
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 222 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | const Range & | s, |
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 362 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | const Range & | s, |
Index | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 382 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstVectorView ConstTensor5View::operator() | ( | const Range & | s, |
Index | b, | ||
Index | p, | ||
Index | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstVectorView.
(Reducing the dimension by four.)
Definition at line 522 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor4View ConstTensor5View::operator() | ( | Index | s, |
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor4View.
(Reducing the dimension by one.)
Definition at line 107 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | Index | s, |
const Range & | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 282 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | Index | s, |
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 262 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | Index | s, |
const Range & | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 442 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | Index | s, |
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 242 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | Index | s, |
const Range & | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 422 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | Index | s, |
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 402 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstVectorView ConstTensor5View::operator() | ( | Index | s, |
const Range & | b, | ||
Index | p, | ||
Index | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstVectorView.
(Reducing the dimension by four.)
Definition at line 543 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstTensor3View ConstTensor5View::operator() | ( | Index | s, |
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstTensor3View.
(Reducing the dimension by two.)
Definition at line 302 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | Index | s, |
Index | b, | ||
const Range & | p, | ||
const Range & | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 462 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | Index | s, |
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 482 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstVectorView ConstTensor5View::operator() | ( | Index | s, |
Index | b, | ||
const Range & | p, | ||
Index | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstVectorView.
(Reducing the dimension by four.)
Definition at line 564 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstMatrixView ConstTensor5View::operator() | ( | Index | s, |
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstMatrixView.
(Reducing the dimension by three.)
Definition at line 502 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstVectorView ConstTensor5View::operator() | ( | Index | s, |
Index | b, | ||
Index | p, | ||
const Range & | r, | ||
Index | c | ||
) | const |
Const index operator returning an object of type ConstVectorView.
(Reducing the dimension by four.)
Definition at line 585 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
ConstVectorView ConstTensor5View::operator() | ( | Index | s, |
Index | b, | ||
Index | p, | ||
Index | r, | ||
const Range & | c | ||
) | const |
Const index operator returning an object of type ConstVectorView.
(Reducing the dimension by four.)
Definition at line 606 of file matpackV.cc.
References ARTS_ASSERT, b, c, mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, and Range::mstride.
Plain const index operator.
Definition at line 253 of file matpackV.h.
References ARTS_ASSERT, b, c, get(), mbr, mcr, Range::mextent, mpr, mrr, and msr.
|
default |
|
default |
|
inline |
Returns the shape as an array (to allow templates to just look for shape on different matpack objects)
Definition at line 162 of file matpackV.h.
References nbooks(), ncols(), npages(), nrows(), and nshelves().
|
inlinenoexcept |
Definition at line 156 of file matpackV.h.
References nbooks(), ncols(), npages(), nrows(), and nshelves().
Referenced by empty(), Tensor5View::get_c_array(), Tensor5::reduce_rank(), Tensor6::reduce_rank(), Tensor7::reduce_rank(), and Tensor5::transform_elementwise().
|
friend |
Definition at line 288 of file matpackV.h.
|
friend |
Definition at line 289 of file matpackV.h.
|
friend |
Definition at line 290 of file matpackV.h.
|
friend |
Definition at line 287 of file matpackV.h.
|
protected |
The book range of mdata that is actually used.
Definition at line 321 of file matpackV.h.
Referenced by Tensor5View::begin(), begin(), Tensor5View::end(), end(), Tensor5View::get(), get(), Tensor5View::get_c_array(), nbooks(), ConstIterator6D::operator!=(), Iterator6D::operator!=(), Tensor5View::operator()(), operator()(), Tensor5View::operator=(), and Tensor5::resize().
|
protected |
The column range of mdata that is actually used.
Definition at line 327 of file matpackV.h.
Referenced by Tensor5View::begin(), begin(), Tensor5View::end(), end(), Tensor5View::get(), get(), Tensor5View::get_c_array(), ncols(), ConstIterator6D::operator!=(), Iterator6D::operator!=(), Tensor5View::operator()(), operator()(), Tensor5View::operator=(), and Tensor5::resize().
|
protected |
Pointer to the plain C array that holds the data.
Definition at line 329 of file matpackV.h.
Referenced by Tensor5View::begin(), begin(), Tensor5View::end(), end(), Tensor5View::get(), get(), Tensor5View::get_c_array(), ConstIterator6D::operator!=(), Iterator6D::operator!=(), Tensor5View::operator()(), operator()(), Iterator6D::operator++(), ConstIterator6D::operator++(), Tensor5::operator=(), Tensor5::reduce_rank(), Tensor5::resize(), Tensor5::Tensor5(), Tensor5::transform_elementwise(), and Tensor5::~Tensor5().
|
protected |
The page range of mdata that is actually used.
Definition at line 323 of file matpackV.h.
Referenced by Tensor5View::begin(), begin(), Tensor5View::end(), end(), Tensor5View::get(), get(), Tensor5View::get_c_array(), npages(), ConstIterator6D::operator!=(), Iterator6D::operator!=(), Tensor5View::operator()(), operator()(), Tensor5View::operator=(), and Tensor5::resize().
|
protected |
The row range of mdata that is actually used.
Definition at line 325 of file matpackV.h.
Referenced by Tensor5View::begin(), begin(), Tensor5View::end(), end(), Tensor5View::get(), get(), Tensor5View::get_c_array(), nrows(), ConstIterator6D::operator!=(), Iterator6D::operator!=(), Tensor5View::operator()(), operator()(), Tensor5View::operator=(), and Tensor5::resize().
|
protected |
The shelf range of mdata that is actually used.
Definition at line 319 of file matpackV.h.
Referenced by Tensor5View::begin(), begin(), Tensor5View::end(), end(), Tensor5View::get(), get(), Tensor5View::get_c_array(), nshelves(), ConstIterator6D::operator!=(), Iterator6D::operator!=(), Tensor5View::operator()(), operator()(), Tensor5View::operator=(), and Tensor5::resize().