ARTS 2.5.4 (git: 31ce4f0e)
Tensor6View Class Reference

The Tensor6View class. More...

#include <matpackVI.h>

Inheritance diagram for Tensor6View:
ConstTensor6View Tensor6

Public Member Functions

constexpr Tensor6View (const Tensor6View &)=default
 
Tensor6View operator() (const Range &v, const Range &s, const Range &b, const Range &p, const Range &r, const Range &c)
 
Tensor5View operator() (const Range &v, const Range &s, const Range &b, const Range &p, const Range &r, Index c)
 
Tensor5View operator() (const Range &v, const Range &s, const Range &b, const Range &p, Index r, const Range &c)
 
Tensor5View operator() (const Range &v, const Range &s, const Range &b, Index p, const Range &r, const Range &c)
 
Tensor5View operator() (const Range &v, const Range &s, Index b, const Range &p, const Range &r, const Range &c)
 
Tensor5View operator() (const Range &v, Index s, const Range &b, const Range &p, const Range &r, const Range &c)
 
Tensor5View operator() (Index v, const Range &s, const Range &b, const Range &p, const Range &r, const Range &c)
 
Tensor4View operator() (const Range &v, const Range &s, const Range &b, const Range &p, Index r, Index c)
 
Tensor4View operator() (const Range &v, const Range &s, const Range &b, Index p, const Range &r, Index c)
 
Tensor4View operator() (const Range &v, const Range &s, Index b, const Range &p, const Range &r, Index c)
 
Tensor4View operator() (const Range &v, Index s, const Range &b, const Range &p, const Range &r, Index c)
 
Tensor4View operator() (Index v, const Range &s, const Range &b, const Range &p, const Range &r, Index c)
 
Tensor4View operator() (const Range &v, const Range &s, const Range &b, Index p, Index r, const Range &c)
 
Tensor4View operator() (const Range &v, const Range &s, Index b, const Range &p, Index r, const Range &c)
 
Tensor4View operator() (const Range &v, Index s, const Range &b, const Range &p, Index r, const Range &c)
 
Tensor4View operator() (Index v, const Range &s, const Range &b, const Range &p, Index r, const Range &c)
 
Tensor4View operator() (const Range &v, const Range &s, Index b, Index p, const Range &r, const Range &c)
 
Tensor4View operator() (const Range &v, Index s, const Range &b, Index p, const Range &r, const Range &c)
 
Tensor4View operator() (Index v, const Range &s, const Range &b, Index p, const Range &r, const Range &c)
 
Tensor4View operator() (const Range &v, Index s, Index b, const Range &p, const Range &r, const Range &c)
 
Tensor4View operator() (Index v, const Range &s, Index b, const Range &p, const Range &r, const Range &c)
 
Tensor4View operator() (Index v, Index s, const Range &b, const Range &p, const Range &r, const Range &c)
 
Tensor3View operator() (const Range &v, const Range &s, const Range &b, Index p, Index r, Index c)
 
Tensor3View operator() (const Range &v, const Range &s, Index b, const Range &p, Index r, Index c)
 
Tensor3View operator() (const Range &v, Index s, const Range &b, const Range &p, Index r, Index c)
 
Tensor3View operator() (Index v, const Range &s, const Range &b, const Range &p, Index r, Index c)
 
Tensor3View operator() (const Range &v, const Range &s, Index b, Index p, const Range &r, Index c)
 
Tensor3View operator() (const Range &v, Index s, const Range &b, Index p, const Range &r, Index c)
 
Tensor3View operator() (Index v, const Range &s, const Range &b, Index p, const Range &r, Index c)
 
Tensor3View operator() (const Range &v, Index s, Index b, const Range &p, const Range &r, Index c)
 
Tensor3View operator() (Index v, const Range &s, Index b, const Range &p, const Range &r, Index c)
 
Tensor3View operator() (Index v, Index s, const Range &b, const Range &p, const Range &r, Index c)
 
Tensor3View operator() (const Range &v, const Range &s, Index b, Index p, Index r, const Range &c)
 
Tensor3View operator() (const Range &v, Index s, const Range &b, Index p, Index r, const Range &c)
 
Tensor3View operator() (Index v, const Range &s, const Range &b, Index p, Index r, const Range &c)
 
Tensor3View operator() (const Range &v, Index s, Index b, const Range &p, Index r, const Range &c)
 
Tensor3View operator() (Index v, const Range &s, Index b, const Range &p, Index r, const Range &c)
 
Tensor3View operator() (Index v, Index s, const Range &b, const Range &p, Index r, const Range &c)
 
Tensor3View operator() (const Range &v, Index s, Index b, Index p, const Range &r, const Range &c)
 
Tensor3View operator() (Index v, const Range &s, Index b, Index p, const Range &r, const Range &c)
 
Tensor3View operator() (Index v, Index s, const Range &b, Index p, const Range &r, const Range &c)
 
Tensor3View operator() (Index v, Index s, Index b, const Range &p, const Range &r, const Range &c)
 
MatrixView operator() (Index v, Index s, Index b, Index p, const Range &r, const Range &c)
 
MatrixView operator() (Index v, Index s, Index b, const Range &p, Index r, const Range &c)
 
MatrixView operator() (Index v, Index s, const Range &b, Index p, Index r, const Range &c)
 
MatrixView operator() (Index v, const Range &s, Index b, Index p, Index r, const Range &c)
 
MatrixView operator() (const Range &v, Index s, Index b, Index p, Index r, const Range &c)
 
MatrixView operator() (Index v, Index s, Index b, const Range &p, const Range &r, Index c)
 
MatrixView operator() (Index v, Index s, const Range &b, Index p, const Range &r, Index c)
 
MatrixView operator() (Index v, const Range &s, Index b, Index p, const Range &r, Index c)
 
MatrixView operator() (const Range &v, Index s, Index b, Index p, const Range &r, Index c)
 
MatrixView operator() (Index v, Index s, const Range &b, const Range &p, Index r, Index c)
 
MatrixView operator() (Index v, const Range &s, Index b, const Range &p, Index r, Index c)
 
MatrixView operator() (const Range &v, Index s, Index b, const Range &p, Index r, Index c)
 
MatrixView operator() (Index v, const Range &s, const Range &b, Index p, Index r, Index c)
 
MatrixView operator() (const Range &v, Index s, const Range &b, Index p, Index r, Index c)
 
MatrixView operator() (const Range &v, const Range &s, Index b, Index p, Index r, Index c)
 
VectorView operator() (Index v, Index s, Index b, Index p, Index r, const Range &c)
 
VectorView operator() (Index v, Index s, Index b, Index p, const Range &r, Index c)
 
VectorView operator() (Index v, Index s, Index b, const Range &p, Index r, Index c)
 
VectorView operator() (Index v, Index s, const Range &b, Index p, Index r, Index c)
 
VectorView operator() (Index v, const Range &s, Index b, Index p, Index r, Index c)
 
VectorView operator() (const Range &v, Index s, Index b, Index p, Index r, Index c)
 
Numericoperator() (Index v, Index s, Index b, Index p, Index r, Index c)
 
Numericget (Index v, Index s, Index b, Index p, Index r, Index c)
 Get element implementation without assertions. More...
 
const Numericget_c_array () const ARTS_NOEXCEPT
 Conversion to plain C-array. More...
 
Numericget_c_array () ARTS_NOEXCEPT
 Conversion to plain C-array. More...
 
Iterator6D begin ()
 Return iterator to first sub-tensor. More...
 
Iterator6D end ()
 Return iterator behind last sub-tensor. More...
 
Tensor6Viewoperator= (const ConstTensor6View &v)
 Assignment operator. More...
 
Tensor6Viewoperator= (const Tensor6View &v)
 Assignment from Tensor6View to Tensor6View. More...
 
Tensor6Viewoperator= (const Tensor6 &v)
 Assignment from a Tensor6. More...
 
Tensor6Viewoperator= (Numeric x)
 Assigning a scalar to a Tensor6View will set all elements to this value. More...
 
Tensor6Viewoperator*= (Numeric x)
 Multiplication by scalar. More...
 
Tensor6Viewoperator/= (Numeric x)
 Division by scalar. More...
 
Tensor6Viewoperator+= (Numeric x)
 Addition of scalar. More...
 
Tensor6Viewoperator-= (Numeric x)
 Subtraction of scalar. More...
 
Tensor6Viewoperator*= (const ConstTensor6View &x)
 Element-vise multiplication by another Tensor6. More...
 
Tensor6Viewoperator/= (const ConstTensor6View &x)
 Element-vise division by another Tensor6. More...
 
Tensor6Viewoperator+= (const ConstTensor6View &x)
 Element-vise addition of another Tensor6. More...
 
Tensor6Viewoperator-= (const ConstTensor6View &x)
 Element-vise subtraction of another Tensor6. More...
 
virtual ~Tensor6View ()=default
 
 Tensor6View (const Tensor5View &a)
 Special constructor to make a Tensor6 view of a Tensor5. More...
 
ConstIterator6D begin () const
 Return const iterator to first sub-tensor. More...
 
ConstIterator6D end () const
 Return const iterator behind last sub-tensor. More...
 
Numeric get (Index v, Index s, Index b, Index p, Index r, Index c) const
 Get element implementation without assertions. More...
 
- Public Member Functions inherited from ConstTensor6View
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

 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...
 
- Protected Member Functions inherited from ConstTensor6View
 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

- Protected Attributes inherited from ConstTensor6View
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...
 

Detailed Description

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 632 of file matpackVI.h.

Constructor & Destructor Documentation

◆ Tensor6View() [1/5]

constexpr Tensor6View::Tensor6View ( const Tensor6View )
constexprdefault

◆ ~Tensor6View()

virtual Tensor6View::~Tensor6View ( )
virtualdefault

◆ Tensor6View() [2/5]

Tensor6View::Tensor6View ( const Tensor5View a)

Special constructor to make a Tensor6 view of a Tensor5.

Definition at line 1936 of file matpackVI.cc.

◆ Tensor6View() [3/5]

Tensor6View::Tensor6View ( )
protecteddefault

Referenced by operator()().

◆ Tensor6View() [4/5]

Tensor6View::Tensor6View ( 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.

Definition at line 1953 of file matpackVI.cc.

◆ Tensor6View() [5/5]

Tensor6View::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 
)
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.

Parameters
*dataThe actual data.
pvPrevious range.
psPrevious range.
pbPrevious range.
ppPrevious range.
prPrevious range.
pcPrevious range.
nvNew Range.
nsNew Range.
nbNew Range.
npNew Range.
nrNew Range.
ncNew Range.

Definition at line 1986 of file matpackVI.cc.

Member Function Documentation

◆ begin() [1/2]

◆ begin() [2/2]

ConstIterator6D ConstTensor6View::begin ( ) const

Return const iterator to first sub-tensor.

Definition at line 565 of file matpackVI.cc.

◆ end() [1/2]

◆ end() [2/2]

ConstIterator6D ConstTensor6View::end ( ) const

Return const iterator behind last sub-tensor.

Definition at line 566 of file matpackVI.cc.

◆ get() [1/2]

Numeric & Tensor6View::get ( Index  v,
Index  s,
Index  b,
Index  p,
Index  r,
Index  c 
)
inline

Get element implementation without assertions.

Definition at line 1026 of file matpackVI.h.

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

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

◆ get() [2/2]

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.

◆ get_c_array() [1/2]

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

◆ get_c_array() [2/2]

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(), and xml_read_from_stream().

◆ operator()() [1/64]

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

◆ operator()() [2/64]

Tensor5View Tensor6View::operator() ( const Range v,
const Range s,
const Range b,
const Range p,
const Range r,
Index  c 
)

◆ operator()() [3/64]

Tensor5View Tensor6View::operator() ( const Range v,
const Range s,
const Range b,
const Range p,
Index  r,
const Range c 
)

◆ operator()() [4/64]

Tensor4View Tensor6View::operator() ( const Range v,
const Range s,
const Range b,
const Range p,
Index  r,
Index  c 
)

◆ operator()() [5/64]

Tensor5View Tensor6View::operator() ( const Range v,
const Range s,
const Range b,
Index  p,
const Range r,
const Range c 
)

◆ operator()() [6/64]

Tensor4View Tensor6View::operator() ( const Range v,
const Range s,
const Range b,
Index  p,
const Range r,
Index  c 
)

◆ operator()() [7/64]

Tensor4View Tensor6View::operator() ( const Range v,
const Range s,
const Range b,
Index  p,
Index  r,
const Range c 
)

◆ operator()() [8/64]

Tensor3View Tensor6View::operator() ( const Range v,
const Range s,
const Range b,
Index  p,
Index  r,
Index  c 
)

◆ operator()() [9/64]

Tensor5View Tensor6View::operator() ( const Range v,
const Range s,
Index  b,
const Range p,
const Range r,
const Range c 
)

◆ operator()() [10/64]

Tensor4View Tensor6View::operator() ( const Range v,
const Range s,
Index  b,
const Range p,
const Range r,
Index  c 
)

◆ operator()() [11/64]

Tensor4View Tensor6View::operator() ( const Range v,
const Range s,
Index  b,
const Range p,
Index  r,
const Range c 
)

◆ operator()() [12/64]

Tensor3View Tensor6View::operator() ( const Range v,
const Range s,
Index  b,
const Range p,
Index  r,
Index  c 
)

◆ operator()() [13/64]

Tensor4View Tensor6View::operator() ( const Range v,
const Range s,
Index  b,
Index  p,
const Range r,
const Range c 
)

◆ operator()() [14/64]

Tensor3View Tensor6View::operator() ( const Range v,
const Range s,
Index  b,
Index  p,
const Range r,
Index  c 
)

◆ operator()() [15/64]

Tensor3View Tensor6View::operator() ( const Range v,
const Range s,
Index  b,
Index  p,
Index  r,
const Range c 
)

◆ operator()() [16/64]

MatrixView Tensor6View::operator() ( const Range v,
const Range s,
Index  b,
Index  p,
Index  r,
Index  c 
)

◆ operator()() [17/64]

Tensor5View Tensor6View::operator() ( const Range v,
Index  s,
const Range b,
const Range p,
const Range r,
const Range c 
)

◆ operator()() [18/64]

Tensor4View Tensor6View::operator() ( const Range v,
Index  s,
const Range b,
const Range p,
const Range r,
Index  c 
)

◆ operator()() [19/64]

Tensor4View Tensor6View::operator() ( const Range v,
Index  s,
const Range b,
const Range p,
Index  r,
const Range c 
)

◆ operator()() [20/64]

Tensor3View Tensor6View::operator() ( const Range v,
Index  s,
const Range b,
const Range p,
Index  r,
Index  c 
)

◆ operator()() [21/64]

Tensor4View Tensor6View::operator() ( const Range v,
Index  s,
const Range b,
Index  p,
const Range r,
const Range c 
)

◆ operator()() [22/64]

Tensor3View Tensor6View::operator() ( const Range v,
Index  s,
const Range b,
Index  p,
const Range r,
Index  c 
)

◆ operator()() [23/64]

Tensor3View Tensor6View::operator() ( const Range v,
Index  s,
const Range b,
Index  p,
Index  r,
const Range c 
)

◆ operator()() [24/64]

MatrixView Tensor6View::operator() ( const Range v,
Index  s,
const Range b,
Index  p,
Index  r,
Index  c 
)

◆ operator()() [25/64]

Tensor4View Tensor6View::operator() ( const Range v,
Index  s,
Index  b,
const Range p,
const Range r,
const Range c 
)

◆ operator()() [26/64]

Tensor3View Tensor6View::operator() ( const Range v,
Index  s,
Index  b,
const Range p,
const Range r,
Index  c 
)

◆ operator()() [27/64]

Tensor3View Tensor6View::operator() ( const Range v,
Index  s,
Index  b,
const Range p,
Index  r,
const Range c 
)

◆ operator()() [28/64]

MatrixView Tensor6View::operator() ( const Range v,
Index  s,
Index  b,
const Range p,
Index  r,
Index  c 
)

◆ operator()() [29/64]

Tensor3View Tensor6View::operator() ( const Range v,
Index  s,
Index  b,
Index  p,
const Range r,
const Range c 
)

◆ operator()() [30/64]

MatrixView Tensor6View::operator() ( const Range v,
Index  s,
Index  b,
Index  p,
const Range r,
Index  c 
)

◆ operator()() [31/64]

MatrixView Tensor6View::operator() ( const Range v,
Index  s,
Index  b,
Index  p,
Index  r,
const Range c 
)

◆ operator()() [32/64]

VectorView Tensor6View::operator() ( const Range v,
Index  s,
Index  b,
Index  p,
Index  r,
Index  c 
)

Definition at line 1665 of file matpackVI.cc.

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

◆ operator()() [33/64]

Tensor5View Tensor6View::operator() ( Index  v,
const Range s,
const Range b,
const Range p,
const Range r,
const Range c 
)

◆ operator()() [34/64]

Tensor4View Tensor6View::operator() ( Index  v,
const Range s,
const Range b,
const Range p,
const Range r,
Index  c 
)

◆ operator()() [35/64]

Tensor4View Tensor6View::operator() ( Index  v,
const Range s,
const Range b,
const Range p,
Index  r,
const Range c 
)

◆ operator()() [36/64]

Tensor3View Tensor6View::operator() ( Index  v,
const Range s,
const Range b,
const Range p,
Index  r,
Index  c 
)

◆ operator()() [37/64]

Tensor4View Tensor6View::operator() ( Index  v,
const Range s,
const Range b,
Index  p,
const Range r,
const Range c 
)

◆ operator()() [38/64]

Tensor3View Tensor6View::operator() ( Index  v,
const Range s,
const Range b,
Index  p,
const Range r,
Index  c 
)

◆ operator()() [39/64]

Tensor3View Tensor6View::operator() ( Index  v,
const Range s,
const Range b,
Index  p,
Index  r,
const Range c 
)

◆ operator()() [40/64]

MatrixView Tensor6View::operator() ( Index  v,
const Range s,
const Range b,
Index  p,
Index  r,
Index  c 
)

◆ operator()() [41/64]

Tensor4View Tensor6View::operator() ( Index  v,
const Range s,
Index  b,
const Range p,
const Range r,
const Range c 
)

◆ operator()() [42/64]

Tensor3View Tensor6View::operator() ( Index  v,
const Range s,
Index  b,
const Range p,
const Range r,
Index  c 
)

◆ operator()() [43/64]

Tensor3View Tensor6View::operator() ( Index  v,
const Range s,
Index  b,
const Range p,
Index  r,
const Range c 
)

◆ operator()() [44/64]

MatrixView Tensor6View::operator() ( Index  v,
const Range s,
Index  b,
const Range p,
Index  r,
Index  c 
)

◆ operator()() [45/64]

Tensor3View Tensor6View::operator() ( Index  v,
const Range s,
Index  b,
Index  p,
const Range r,
const Range c 
)

◆ operator()() [46/64]

MatrixView Tensor6View::operator() ( Index  v,
const Range s,
Index  b,
Index  p,
const Range r,
Index  c 
)

◆ operator()() [47/64]

MatrixView Tensor6View::operator() ( Index  v,
const Range s,
Index  b,
Index  p,
Index  r,
const Range c 
)

◆ operator()() [48/64]

VectorView Tensor6View::operator() ( Index  v,
const Range s,
Index  b,
Index  p,
Index  r,
Index  c 
)

Definition at line 1651 of file matpackVI.cc.

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

◆ operator()() [49/64]

Tensor4View Tensor6View::operator() ( Index  v,
Index  s,
const Range b,
const Range p,
const Range r,
const Range c 
)

◆ operator()() [50/64]

Tensor3View Tensor6View::operator() ( Index  v,
Index  s,
const Range b,
const Range p,
const Range r,
Index  c 
)

◆ operator()() [51/64]

Tensor3View Tensor6View::operator() ( Index  v,
Index  s,
const Range b,
const Range p,
Index  r,
const Range c 
)

◆ operator()() [52/64]

MatrixView Tensor6View::operator() ( Index  v,
Index  s,
const Range b,
const Range p,
Index  r,
Index  c 
)

◆ operator()() [53/64]

Tensor3View Tensor6View::operator() ( Index  v,
Index  s,
const Range b,
Index  p,
const Range r,
const Range c 
)

◆ operator()() [54/64]

MatrixView Tensor6View::operator() ( Index  v,
Index  s,
const Range b,
Index  p,
const Range r,
Index  c 
)

◆ operator()() [55/64]

MatrixView Tensor6View::operator() ( Index  v,
Index  s,
const Range b,
Index  p,
Index  r,
const Range c 
)

◆ operator()() [56/64]

VectorView Tensor6View::operator() ( Index  v,
Index  s,
const Range b,
Index  p,
Index  r,
Index  c 
)

Definition at line 1637 of file matpackVI.cc.

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

◆ operator()() [57/64]

Tensor3View Tensor6View::operator() ( Index  v,
Index  s,
Index  b,
const Range p,
const Range r,
const Range c 
)

◆ operator()() [58/64]

MatrixView Tensor6View::operator() ( Index  v,
Index  s,
Index  b,
const Range p,
const Range r,
Index  c 
)

◆ operator()() [59/64]

MatrixView Tensor6View::operator() ( Index  v,
Index  s,
Index  b,
const Range p,
Index  r,
const Range c 
)

◆ operator()() [60/64]

VectorView Tensor6View::operator() ( Index  v,
Index  s,
Index  b,
const Range p,
Index  r,
Index  c 
)

Definition at line 1623 of file matpackVI.cc.

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

◆ operator()() [61/64]

MatrixView Tensor6View::operator() ( Index  v,
Index  s,
Index  b,
Index  p,
const Range r,
const Range c 
)

◆ operator()() [62/64]

VectorView Tensor6View::operator() ( Index  v,
Index  s,
Index  b,
Index  p,
const Range r,
Index  c 
)

Definition at line 1609 of file matpackVI.cc.

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

◆ operator()() [63/64]

VectorView Tensor6View::operator() ( Index  v,
Index  s,
Index  b,
Index  p,
Index  r,
const Range c 
)

Definition at line 1595 of file matpackVI.cc.

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

◆ operator()() [64/64]

Numeric & Tensor6View::operator() ( Index  v,
Index  s,
Index  b,
Index  p,
Index  r,
Index  c 
)
inline

Definition at line 1015 of file matpackVI.h.

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

◆ operator*=() [1/2]

◆ operator*=() [2/2]

Tensor6View & Tensor6View::operator*= ( Numeric  x)

Multiplication by scalar.

Definition at line 1832 of file matpackVI.cc.

References begin(), and end().

◆ operator+=() [1/2]

◆ operator+=() [2/2]

Tensor6View & Tensor6View::operator+= ( Numeric  x)

Addition of scalar.

Definition at line 1850 of file matpackVI.cc.

References begin(), and end().

◆ operator-=() [1/2]

◆ operator-=() [2/2]

Tensor6View & Tensor6View::operator-= ( Numeric  x)

Subtraction of scalar.

Definition at line 1859 of file matpackVI.cc.

References begin(), and end().

◆ operator/=() [1/2]

◆ operator/=() [2/2]

Tensor6View & Tensor6View::operator/= ( Numeric  x)

Division by scalar.

Definition at line 1841 of file matpackVI.cc.

References begin(), and end().

◆ operator=() [1/4]

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.

◆ operator=() [2/4]

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.

◆ operator=() [3/4]

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.

◆ operator=() [4/4]

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.

References begin(), copy(), and end().

Friends And Related Function Documentation

◆ Iterator7D

friend class Iterator7D
friend

Definition at line 1060 of file matpackVI.h.

◆ Tensor7View

friend class Tensor7View
friend

Definition at line 1061 of file matpackVI.h.


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