ARTS 2.5.4 (git: 31ce4f0e)
ConstTensor6View Class Reference

A constant view of a Tensor6. More...

#include <matpackVI.h>

Inheritance diagram for ConstTensor6View:
Tensor6View Tensor6

Public Member Functions

constexpr ConstTensor6View (const ConstTensor6View &)=default
 
constexpr ConstTensor6View (ConstTensor6View &&)=default
 
ConstTensor6Viewoperator= (const ConstTensor6View &)=default
 
ConstTensor6Viewoperator= (ConstTensor6View &&)=default
 
Index nvitrines () const noexcept
 
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< 6 > shape () const
 
ConstTensor6View operator() (const Range &v, const Range &s, const Range &b, const Range &p, const Range &r, const Range &c) const
 
ConstTensor5View operator() (const Range &v, const Range &s, const Range &b, const Range &p, const Range &r, Index c) const
 
ConstTensor5View operator() (const Range &v, const Range &s, const Range &b, const Range &p, Index r, const Range &c) const
 
ConstTensor5View operator() (const Range &v, const Range &s, const Range &b, Index p, const Range &r, const Range &c) const
 
ConstTensor5View operator() (const Range &v, const Range &s, Index b, const Range &p, const Range &r, const Range &c) const
 
ConstTensor5View operator() (const Range &v, Index s, const Range &b, const Range &p, const Range &r, const Range &c) const
 
ConstTensor5View operator() (Index v, const Range &s, const Range &b, const Range &p, const Range &r, const Range &c) const
 
ConstTensor4View operator() (const Range &v, const Range &s, const Range &b, const Range &p, Index r, Index c) const
 
ConstTensor4View operator() (const Range &v, const Range &s, const Range &b, Index p, const Range &r, Index c) const
 
ConstTensor4View operator() (const Range &v, const Range &s, Index b, const Range &p, const Range &r, Index c) const
 
ConstTensor4View operator() (const Range &v, Index s, const Range &b, const Range &p, const Range &r, Index c) const
 
ConstTensor4View operator() (Index v, const Range &s, const Range &b, const Range &p, const Range &r, Index c) const
 
ConstTensor4View operator() (const Range &v, const Range &s, const Range &b, Index p, Index r, const Range &c) const
 
ConstTensor4View operator() (const Range &v, const Range &s, Index b, const Range &p, Index r, const Range &c) const
 
ConstTensor4View operator() (const Range &v, Index s, const Range &b, const Range &p, Index r, const Range &c) const
 
ConstTensor4View operator() (Index v, const Range &s, const Range &b, const Range &p, Index r, const Range &c) const
 
ConstTensor4View operator() (const Range &v, const Range &s, Index b, Index p, const Range &r, const Range &c) const
 
ConstTensor4View operator() (const Range &v, Index s, const Range &b, Index p, const Range &r, const Range &c) const
 
ConstTensor4View operator() (Index v, const Range &s, const Range &b, Index p, const Range &r, const Range &c) const
 
ConstTensor4View operator() (const Range &v, Index s, Index b, const Range &p, const Range &r, const Range &c) const
 
ConstTensor4View operator() (Index v, const Range &s, Index b, const Range &p, const Range &r, const Range &c) const
 
ConstTensor4View operator() (Index v, Index s, const Range &b, const Range &p, const Range &r, const Range &c) const
 
ConstTensor3View operator() (const Range &v, const Range &s, const Range &b, Index p, Index r, Index c) const
 
ConstTensor3View operator() (const Range &v, const Range &s, Index b, const Range &p, Index r, Index c) const
 
ConstTensor3View operator() (const Range &v, Index s, const Range &b, const Range &p, Index r, Index c) const
 
ConstTensor3View operator() (Index v, const Range &s, const Range &b, const Range &p, Index r, Index c) const
 
ConstTensor3View operator() (const Range &v, const Range &s, Index b, Index p, const Range &r, Index c) const
 
ConstTensor3View operator() (const Range &v, Index s, const Range &b, Index p, const Range &r, Index c) const
 
ConstTensor3View operator() (Index v, const Range &s, const Range &b, Index p, const Range &r, Index c) const
 
ConstTensor3View operator() (const Range &v, Index s, Index b, const Range &p, const Range &r, Index c) const
 
ConstTensor3View operator() (Index v, const Range &s, Index b, const Range &p, const Range &r, Index c) const
 
ConstTensor3View operator() (Index v, Index s, const Range &b, const Range &p, const Range &r, Index c) const
 
ConstTensor3View operator() (const Range &v, const Range &s, Index b, Index p, Index r, const Range &c) const
 
ConstTensor3View operator() (const Range &v, Index s, const Range &b, Index p, Index r, const Range &c) const
 
ConstTensor3View operator() (Index v, const Range &s, const Range &b, Index p, Index r, const Range &c) const
 
ConstTensor3View operator() (const Range &v, Index s, Index b, const Range &p, Index r, const Range &c) const
 
ConstTensor3View operator() (Index v, const Range &s, Index b, const Range &p, Index r, const Range &c) const
 
ConstTensor3View operator() (Index v, Index s, const Range &b, const Range &p, Index r, const Range &c) const
 
ConstTensor3View operator() (const Range &v, Index s, Index b, Index p, const Range &r, const Range &c) const
 
ConstTensor3View operator() (Index v, const Range &s, Index b, Index p, const Range &r, const Range &c) const
 
ConstTensor3View operator() (Index v, Index s, const Range &b, Index p, const Range &r, const Range &c) const
 
ConstTensor3View operator() (Index v, Index s, Index b, const Range &p, const Range &r, const Range &c) const
 
ConstMatrixView operator() (Index v, Index s, Index b, Index p, const Range &r, const Range &c) const
 
ConstMatrixView operator() (Index v, Index s, Index b, const Range &p, Index r, const Range &c) const
 
ConstMatrixView operator() (Index v, Index s, const Range &b, Index p, Index r, const Range &c) const
 
ConstMatrixView operator() (Index v, const Range &s, Index b, Index p, Index r, const Range &c) const
 
ConstMatrixView operator() (const Range &v, Index s, Index b, Index p, Index r, const Range &c) const
 
ConstMatrixView operator() (Index v, Index s, Index b, const Range &p, const Range &r, Index c) const
 
ConstMatrixView operator() (Index v, Index s, const Range &b, Index p, const Range &r, Index c) const
 
ConstMatrixView operator() (Index v, const Range &s, Index b, Index p, const Range &r, Index c) const
 
ConstMatrixView operator() (const Range &v, Index s, Index b, Index p, const Range &r, Index c) const
 
ConstMatrixView operator() (Index v, Index s, const Range &b, const Range &p, Index r, Index c) const
 
ConstMatrixView operator() (Index v, const Range &s, Index b, const Range &p, Index r, Index c) const
 
ConstMatrixView operator() (const Range &v, Index s, Index b, const Range &p, Index r, Index c) const
 
ConstMatrixView operator() (Index v, const Range &s, const Range &b, Index p, Index r, Index c) const
 
ConstMatrixView operator() (const Range &v, Index s, const Range &b, Index p, Index r, Index c) const
 
ConstMatrixView operator() (const Range &v, const Range &s, Index b, Index p, Index r, Index c) const
 
ConstVectorView operator() (Index v, Index s, Index b, Index p, Index r, const Range &c) const
 
ConstVectorView operator() (Index v, Index s, Index b, Index p, const Range &r, Index c) const
 
ConstVectorView operator() (Index v, Index s, Index b, const Range &p, Index r, Index c) const
 
ConstVectorView operator() (Index v, Index s, const Range &b, Index p, Index r, Index c) const
 
ConstVectorView operator() (Index v, const Range &s, Index b, Index p, Index r, Index c) const
 
ConstVectorView operator() (const Range &v, Index s, Index b, Index p, Index r, Index c) const
 
Numeric operator() (Index v, Index s, Index b, Index p, Index r, Index c) const
 
Numeric get (Index v, Index s, Index b, Index p, Index r, Index c) const
 Get element implementation without assertions. More...
 
ConstIterator6D begin () const
 Return const iterator to first sub-tensor. More...
 
ConstIterator6D end () const
 Return const iterator behind last sub-tensor. More...
 
virtual ~ConstTensor6View ()=default
 
 ConstTensor6View (const ConstTensor5View &a)
 Special constructor to make a Tensor6 view of a Tensor5. More...
 

Protected Member Functions

 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...
 

Protected Attributes

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...
 
Numericmdata {nullptr}
 Pointer to the plain C array that holds the data. More...
 

Friends

class ConstIterator7D
 
class Tensor6View
 
class ConstTensor7View
 
std::ostream & operator<< (std::ostream &os, const ConstTensor6View &v)
 Output operator. More...
 

Detailed Description

A constant view of a Tensor6.

This, together with the derived class Tensor6View, 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.

Dimensions are called: vitrine, shelf, book, page, row, column. or short: v, s, b, p, r, c

The class Tensor6 is just a special case of a Tensor6View which also allocates storage.

Definition at line 147 of file matpackVI.h.

Constructor & Destructor Documentation

◆ ConstTensor6View() [1/6]

constexpr ConstTensor6View::ConstTensor6View ( const ConstTensor6View )
constexprdefault

◆ ConstTensor6View() [2/6]

constexpr ConstTensor6View::ConstTensor6View ( ConstTensor6View &&  )
constexprdefault

◆ ~ConstTensor6View()

virtual ConstTensor6View::~ConstTensor6View ( )
virtualdefault

◆ ConstTensor6View() [3/6]

ConstTensor6View::ConstTensor6View ( const ConstTensor5View a)

Special constructor to make a Tensor6 view of a Tensor5.

Definition at line 867 of file matpackVI.cc.

◆ ConstTensor6View() [4/6]

ConstTensor6View::ConstTensor6View ( )
protecteddefault

Referenced by operator()().

◆ ConstTensor6View() [5/6]

ConstTensor6View::ConstTensor6View ( Numeric data,
const Range v,
const Range s,
const Range b,
const Range p,
const Range r,
const Range c 
)
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. The page range pr must have a stride to account for the length of one page.

Definition at line 885 of file matpackVI.cc.

◆ ConstTensor6View() [6/6]

ConstTensor6View::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 
)
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 903 of file matpackVI.cc.

Member Function Documentation

◆ begin()

ConstIterator6D ConstTensor6View::begin ( ) const

◆ empty()

bool ConstTensor6View::empty ( ) const
inlinenoexcept

Definition at line 166 of file matpackVI.h.

References size().

◆ end()

ConstIterator6D ConstTensor6View::end ( ) const

Return const iterator behind last sub-tensor.

Definition at line 855 of file matpackVI.cc.

References mbr, mcr, mdata, Range::mextent, mpr, mrr, msr, Range::mstart, Range::mstride, and mvr.

Referenced by copy(), max(), min(), Tensor6View::operator=(), Tensor6::Tensor6(), and transform().

◆ get()

Numeric ConstTensor6View::get ( Index  v,
Index  s,
Index  b,
Index  p,
Index  r,
Index  c 
) const
inline

Get element implementation without assertions.

Definition at line 558 of file matpackVI.h.

References b, c, mdata, OFFSET, and v.

Referenced by interp(), and operator()().

◆ nbooks()

◆ ncols()

◆ npages()

◆ nrows()

◆ nshelves()

◆ nvitrines()

◆ operator()() [1/64]

ConstTensor6View ConstTensor6View::operator() ( const Range v,
const Range s,
const Range b,
const Range p,
const Range r,
const Range c 
) const

Definition at line 36 of file matpackVI.cc.

References b, c, ConstTensor6View(), mbr, mcr, mdata, mpr, mrr, msr, mvr, and v.

◆ operator()() [2/64]

ConstTensor5View ConstTensor6View::operator() ( const Range v,
const Range s,
const Range b,
const Range p,
const Range r,
Index  c 
) const

Definition at line 48 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mpr, mrr, msr, mvr, OFFSET, and v.

◆ operator()() [3/64]

ConstTensor5View ConstTensor6View::operator() ( const Range v,
const Range s,
const Range b,
const Range p,
Index  r,
const Range c 
) const

Definition at line 60 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mpr, msr, mvr, OFFSET, and v.

◆ operator()() [4/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
const Range s,
const Range b,
const Range p,
Index  r,
Index  c 
) const

Definition at line 121 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mpr, msr, mvr, OFFSET, and v.

◆ operator()() [5/64]

ConstTensor5View ConstTensor6View::operator() ( const Range v,
const Range s,
const Range b,
Index  p,
const Range r,
const Range c 
) const

Definition at line 72 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mrr, msr, mvr, OFFSET, and v.

◆ operator()() [6/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
const Range s,
const Range b,
Index  p,
const Range r,
Index  c 
) const

Definition at line 134 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mrr, msr, mvr, OFFSET, and v.

◆ operator()() [7/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
const Range s,
const Range b,
Index  p,
Index  r,
const Range c 
) const

Definition at line 186 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, msr, mvr, OFFSET, and v.

◆ operator()() [8/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
const Range s,
const Range b,
Index  p,
Index  r,
Index  c 
) const

Definition at line 317 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, msr, mvr, OFFSET, and v.

◆ operator()() [9/64]

ConstTensor5View ConstTensor6View::operator() ( const Range v,
const Range s,
Index  b,
const Range p,
const Range r,
const Range c 
) const

Definition at line 84 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mpr, mrr, msr, mvr, OFFSET, and v.

◆ operator()() [10/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
const Range s,
Index  b,
const Range p,
const Range r,
Index  c 
) const

Definition at line 147 of file matpackVI.cc.

References b, c, CHECK, mdata, mpr, mrr, msr, mvr, OFFSET, and v.

◆ operator()() [11/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
const Range s,
Index  b,
const Range p,
Index  r,
const Range c 
) const

Definition at line 199 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mpr, msr, mvr, OFFSET, and v.

◆ operator()() [12/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
const Range s,
Index  b,
const Range p,
Index  r,
Index  c 
) const

Definition at line 331 of file matpackVI.cc.

References b, c, CHECK, mdata, mpr, msr, mvr, OFFSET, and v.

◆ operator()() [13/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
const Range s,
Index  b,
Index  p,
const Range r,
const Range c 
) const

Definition at line 238 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mrr, msr, mvr, OFFSET, and v.

◆ operator()() [14/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
const Range s,
Index  b,
Index  p,
const Range r,
Index  c 
) const

Definition at line 373 of file matpackVI.cc.

References b, c, CHECK, mdata, mrr, msr, mvr, OFFSET, and v.

◆ operator()() [15/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
const Range s,
Index  b,
Index  p,
Index  r,
const Range c 
) const

Definition at line 457 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, msr, mvr, OFFSET, and v.

◆ operator()() [16/64]

ConstMatrixView ConstTensor6View::operator() ( const Range v,
const Range s,
Index  b,
Index  p,
Index  r,
Index  c 
) const

Definition at line 752 of file matpackVI.cc.

References b, c, CHECK, mdata, msr, mvr, OFFSET, and v.

◆ operator()() [17/64]

ConstTensor5View ConstTensor6View::operator() ( const Range v,
Index  s,
const Range b,
const Range p,
const Range r,
const Range c 
) const

Definition at line 96 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mpr, mrr, mvr, OFFSET, and v.

◆ operator()() [18/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
Index  s,
const Range b,
const Range p,
const Range r,
Index  c 
) const

Definition at line 160 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mpr, mrr, mvr, OFFSET, and v.

◆ operator()() [19/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
Index  s,
const Range b,
const Range p,
Index  r,
const Range c 
) const

Definition at line 212 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mpr, mvr, OFFSET, and v.

◆ operator()() [20/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
Index  s,
const Range b,
const Range p,
Index  r,
Index  c 
) const

Definition at line 345 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mpr, mvr, OFFSET, and v.

◆ operator()() [21/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
Index  s,
const Range b,
Index  p,
const Range r,
const Range c 
) const

Definition at line 251 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mrr, mvr, OFFSET, and v.

◆ operator()() [22/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
Index  s,
const Range b,
Index  p,
const Range r,
Index  c 
) const

Definition at line 387 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mrr, mvr, OFFSET, and v.

◆ operator()() [23/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
Index  s,
const Range b,
Index  p,
Index  r,
const Range c 
) const

Definition at line 471 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mvr, OFFSET, and v.

◆ operator()() [24/64]

ConstMatrixView ConstTensor6View::operator() ( const Range v,
Index  s,
const Range b,
Index  p,
Index  r,
Index  c 
) const

Definition at line 741 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mvr, OFFSET, and v.

◆ operator()() [25/64]

ConstTensor4View ConstTensor6View::operator() ( const Range v,
Index  s,
Index  b,
const Range p,
const Range r,
const Range c 
) const

Definition at line 277 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mpr, mrr, mvr, OFFSET, and v.

◆ operator()() [26/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
Index  s,
Index  b,
const Range p,
const Range r,
Index  c 
) const

Definition at line 415 of file matpackVI.cc.

References b, c, CHECK, mdata, mpr, mrr, mvr, OFFSET, and v.

◆ operator()() [27/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
Index  s,
Index  b,
const Range p,
Index  r,
const Range c 
) const

Definition at line 499 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mpr, mvr, OFFSET, and v.

◆ operator()() [28/64]

ConstMatrixView ConstTensor6View::operator() ( const Range v,
Index  s,
Index  b,
const Range p,
Index  r,
Index  c 
) const

Definition at line 719 of file matpackVI.cc.

References b, c, CHECK, mdata, mpr, mvr, OFFSET, and v.

◆ operator()() [29/64]

ConstTensor3View ConstTensor6View::operator() ( const Range v,
Index  s,
Index  b,
Index  p,
const Range r,
const Range c 
) const

Definition at line 541 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mrr, mvr, OFFSET, and v.

◆ operator()() [30/64]

ConstMatrixView ConstTensor6View::operator() ( const Range v,
Index  s,
Index  b,
Index  p,
const Range r,
Index  c 
) const

Definition at line 686 of file matpackVI.cc.

References b, c, CHECK, mdata, mrr, mvr, OFFSET, and v.

◆ operator()() [31/64]

ConstMatrixView ConstTensor6View::operator() ( const Range v,
Index  s,
Index  b,
Index  p,
Index  r,
const Range c 
) const

Definition at line 642 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mvr, OFFSET, and v.

◆ operator()() [32/64]

ConstVectorView ConstTensor6View::operator() ( const Range v,
Index  s,
Index  b,
Index  p,
Index  r,
Index  c 
) const

Definition at line 834 of file matpackVI.cc.

References b, c, CHECK, mdata, mvr, OFFSET, and v.

◆ operator()() [33/64]

ConstTensor5View ConstTensor6View::operator() ( Index  v,
const Range s,
const Range b,
const Range p,
const Range r,
const Range c 
) const

Definition at line 108 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mpr, mrr, msr, OFFSET, and v.

◆ operator()() [34/64]

ConstTensor4View ConstTensor6View::operator() ( Index  v,
const Range s,
const Range b,
const Range p,
const Range r,
Index  c 
) const

Definition at line 173 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mpr, mrr, msr, OFFSET, and v.

◆ operator()() [35/64]

ConstTensor4View ConstTensor6View::operator() ( Index  v,
const Range s,
const Range b,
const Range p,
Index  r,
const Range c 
) const

Definition at line 225 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mpr, msr, OFFSET, and v.

◆ operator()() [36/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
const Range s,
const Range b,
const Range p,
Index  r,
Index  c 
) const

Definition at line 359 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mpr, msr, OFFSET, and v.

◆ operator()() [37/64]

ConstTensor4View ConstTensor6View::operator() ( Index  v,
const Range s,
const Range b,
Index  p,
const Range r,
const Range c 
) const

Definition at line 264 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mrr, msr, OFFSET, and v.

◆ operator()() [38/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
const Range s,
const Range b,
Index  p,
const Range r,
Index  c 
) const

Definition at line 401 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mrr, msr, OFFSET, and v.

◆ operator()() [39/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
const Range s,
const Range b,
Index  p,
Index  r,
const Range c 
) const

Definition at line 485 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, msr, OFFSET, and v.

◆ operator()() [40/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
const Range s,
const Range b,
Index  p,
Index  r,
Index  c 
) const

Definition at line 730 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, msr, OFFSET, and v.

◆ operator()() [41/64]

ConstTensor4View ConstTensor6View::operator() ( Index  v,
const Range s,
Index  b,
const Range p,
const Range r,
const Range c 
) const

Definition at line 290 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mpr, mrr, msr, OFFSET, and v.

◆ operator()() [42/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
const Range s,
Index  b,
const Range p,
const Range r,
Index  c 
) const

Definition at line 429 of file matpackVI.cc.

References b, c, CHECK, mdata, mpr, mrr, msr, OFFSET, and v.

◆ operator()() [43/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
const Range s,
Index  b,
const Range p,
Index  r,
const Range c 
) const

Definition at line 513 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mpr, msr, OFFSET, and v.

◆ operator()() [44/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
const Range s,
Index  b,
const Range p,
Index  r,
Index  c 
) const

Definition at line 708 of file matpackVI.cc.

References b, c, CHECK, mdata, mpr, msr, OFFSET, and v.

◆ operator()() [45/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
const Range s,
Index  b,
Index  p,
const Range r,
const Range c 
) const

Definition at line 555 of file matpackVI.cc.

References b, CHECK, and v.

◆ operator()() [46/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
const Range s,
Index  b,
Index  p,
const Range r,
Index  c 
) const

Definition at line 675 of file matpackVI.cc.

References b, c, CHECK, mdata, mrr, msr, OFFSET, and v.

◆ operator()() [47/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
const Range s,
Index  b,
Index  p,
Index  r,
const Range c 
) const

Definition at line 631 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, msr, OFFSET, and v.

◆ operator()() [48/64]

ConstVectorView ConstTensor6View::operator() ( Index  v,
const Range s,
Index  b,
Index  p,
Index  r,
Index  c 
) const

Definition at line 820 of file matpackVI.cc.

References b, c, CHECK, mdata, msr, OFFSET, and v.

◆ operator()() [49/64]

ConstTensor4View ConstTensor6View::operator() ( Index  v,
Index  s,
const Range b,
const Range p,
const Range r,
const Range c 
) const

Definition at line 303 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mpr, mrr, OFFSET, and v.

◆ operator()() [50/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
Index  s,
const Range b,
const Range p,
const Range r,
Index  c 
) const

Definition at line 443 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mpr, mrr, OFFSET, and v.

◆ operator()() [51/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
Index  s,
const Range b,
const Range p,
Index  r,
const Range c 
) const

Definition at line 527 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mpr, OFFSET, and v.

◆ operator()() [52/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
Index  s,
const Range b,
const Range p,
Index  r,
Index  c 
) const

Definition at line 697 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mpr, OFFSET, and v.

◆ operator()() [53/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
Index  s,
const Range b,
Index  p,
const Range r,
const Range c 
) const

Definition at line 569 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, mrr, OFFSET, and v.

◆ operator()() [54/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
Index  s,
const Range b,
Index  p,
const Range r,
Index  c 
) const

Definition at line 664 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, mrr, OFFSET, and v.

◆ operator()() [55/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
Index  s,
const Range b,
Index  p,
Index  r,
const Range c 
) const

Definition at line 620 of file matpackVI.cc.

References b, c, CHECK, mbr, mcr, mdata, OFFSET, and v.

◆ operator()() [56/64]

ConstVectorView ConstTensor6View::operator() ( Index  v,
Index  s,
const Range b,
Index  p,
Index  r,
Index  c 
) const

Definition at line 806 of file matpackVI.cc.

References b, c, CHECK, mbr, mdata, OFFSET, and v.

◆ operator()() [57/64]

ConstTensor3View ConstTensor6View::operator() ( Index  v,
Index  s,
Index  b,
const Range p,
const Range r,
const Range c 
) const

Definition at line 583 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mpr, mrr, OFFSET, and v.

◆ operator()() [58/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
Index  s,
Index  b,
const Range p,
const Range r,
Index  c 
) const

Definition at line 653 of file matpackVI.cc.

References b, c, CHECK, mdata, mpr, mrr, OFFSET, and v.

◆ operator()() [59/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
Index  s,
Index  b,
const Range p,
Index  r,
const Range c 
) const

Definition at line 609 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mpr, OFFSET, and v.

◆ operator()() [60/64]

ConstVectorView ConstTensor6View::operator() ( Index  v,
Index  s,
Index  b,
const Range p,
Index  r,
Index  c 
) const

Definition at line 792 of file matpackVI.cc.

References b, c, CHECK, mdata, mpr, OFFSET, and v.

◆ operator()() [61/64]

ConstMatrixView ConstTensor6View::operator() ( Index  v,
Index  s,
Index  b,
Index  p,
const Range r,
const Range c 
) const

Definition at line 598 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, mrr, OFFSET, and v.

◆ operator()() [62/64]

ConstVectorView ConstTensor6View::operator() ( Index  v,
Index  s,
Index  b,
Index  p,
const Range r,
Index  c 
) const

Definition at line 778 of file matpackVI.cc.

References b, c, CHECK, mdata, mrr, OFFSET, and v.

◆ operator()() [63/64]

ConstVectorView ConstTensor6View::operator() ( Index  v,
Index  s,
Index  b,
Index  p,
Index  r,
const Range c 
) const

Definition at line 764 of file matpackVI.cc.

References b, c, CHECK, mcr, mdata, OFFSET, and v.

◆ operator()() [64/64]

Numeric ConstTensor6View::operator() ( Index  v,
Index  s,
Index  b,
Index  p,
Index  r,
Index  c 
) const
inline

Definition at line 546 of file matpackVI.h.

References b, c, CHECK, get(), and v.

◆ operator=() [1/2]

ConstTensor6View & ConstTensor6View::operator= ( const ConstTensor6View )
default

◆ operator=() [2/2]

ConstTensor6View & ConstTensor6View::operator= ( ConstTensor6View &&  )
default

◆ shape()

Shape< 6 > ConstTensor6View::shape ( ) const
inline

Returns the shape as an array (to allow templates to just look for shape on different matpack objects)

Definition at line 169 of file matpackVI.h.

References nbooks(), ncols(), npages(), nrows(), nshelves(), and nvitrines().

◆ size()

Index ConstTensor6View::size ( ) const
inlinenoexcept

Friends And Related Function Documentation

◆ ConstIterator7D

friend class ConstIterator7D
friend

Definition at line 572 of file matpackVI.h.

◆ ConstTensor7View

friend class ConstTensor7View
friend

Definition at line 574 of file matpackVI.h.

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const ConstTensor6View v 
)
friend

Output operator.

This demonstrates how iterators can be used to traverse the tensor. We use the standard output operator for Tensor5 to print each page in turn.

Definition at line 929 of file matpackVI.cc.

◆ Tensor6View

friend class Tensor6View
friend

Definition at line 573 of file matpackVI.h.

Member Data Documentation

◆ mbr

Range ConstTensor6View::mbr {0, 0, 1}
protected

◆ mcr

Range ConstTensor6View::mcr {0, 0, 1}
protected

◆ mdata

◆ mpr

Range ConstTensor6View::mpr {0, 0, 1}
protected

◆ mrr

Range ConstTensor6View::mrr {0, 0, 1}
protected

◆ msr

Range ConstTensor6View::msr {0, 0, 1}
protected

◆ mvr

Range ConstTensor6View::mvr {0, 0, 1}
protected

The documentation for this class was generated from the following files: