ARTS  2.3.1285(git:92a29ea9-dirty)
describe.cc File Reference

Describe type and dimensions of a tensor view. More...

#include "describe.h"

Go to the source code of this file.

Functions

String describe (ConstTensor7View x)
 Describe Tensor7. More...
 
String describe (ConstTensor6View x)
 Describe Tensor6. More...
 
String describe (ConstTensor5View x)
 Describe Tensor5. More...
 
String describe (ConstTensor4View x)
 Describe Tensor4. More...
 
String describe (ConstTensor3View x)
 Describe Tensor3. More...
 
String describe (ConstMatrixView x)
 Describe Matrix. More...
 
String describe (ConstVectorView x)
 Describe Vector. More...
 
String describe (const Numeric &x)
 Describe Scalar. More...
 

Detailed Description

Describe type and dimensions of a tensor view.

Author
Stefan Buehler sbueh.nosp@m.ler@.nosp@m.ltu.s.nosp@m.e
Date
Tue Feb 25 15:35:56 2003

This file contains a set of helper functions called describe, which you can use to output the dimensions of a tensor. This is just for testing purposes.

Definition in file describe.cc.

Function Documentation

◆ describe() [1/8]

◆ describe() [2/8]

◆ describe() [3/8]

◆ describe() [4/8]

String describe ( ConstTensor4View  x)

Describe Tensor4.

Parameters
xWhat to describe.
Returns
Output stream.

Definition at line 72 of file describe.cc.

References ConstTensor4View::nbooks(), ConstTensor4View::ncols(), ConstTensor4View::npages(), ConstTensor4View::nrows(), and _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str().

◆ describe() [5/8]

String describe ( ConstTensor3View  x)

Describe Tensor3.

Parameters
xWhat to describe.
Returns
Output stream.

Definition at line 83 of file describe.cc.

References ConstTensor3View::ncols(), ConstTensor3View::npages(), ConstTensor3View::nrows(), and _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str().

◆ describe() [6/8]

String describe ( ConstMatrixView  x)

Describe Matrix.

Parameters
xWhat to describe.
Returns
Output stream.

Definition at line 94 of file describe.cc.

References ConstMatrixView::ncols(), ConstMatrixView::nrows(), and _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str().

◆ describe() [7/8]

String describe ( ConstVectorView  x)

Describe Vector.

Parameters
xWhat to describe.
Returns
Output stream.

Definition at line 104 of file describe.cc.

References ConstVectorView::nelem(), and _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str().

◆ describe() [8/8]

String describe ( const Numeric x)

Describe Scalar.

Parameters
xWhat to describe.
Returns
Output stream.

Definition at line 114 of file describe.cc.

References _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str().