Go to the documentation of this file.
65 out.push_back(in_ref[i]);
102 const Vector &in_ref = *in_pnt;
139 const Matrix &in_ref = *in_pnt;
144 if (direction ==
"leading")
147 throw runtime_error(
"Input and output matrix must have the same number of columns.");
156 else if (direction ==
"trailing")
159 throw runtime_error(
"Input and output matrix must have the same number of rows.");
167 else throw runtime_error(
"Dimension must be either \"leading\" or \"trailing\".");
182 if (direction ==
"leading")
185 throw runtime_error(
"Number of elements in the input Vector has to match "
186 "the number of columns in the output Matrix.");
192 else if (direction ==
"trailing")
197 throw runtime_error(
"Number of elements in the input Vector has to match "
198 "the number of rows in the output Matrix.");
205 else throw runtime_error(
"Dimension must be either \"leading\" or \"trailing\".");
252 const Tensor4 &in_ref = *in_pnt;
259 throw runtime_error(
"Input and output Tensor4 must have the same number"
void resize(Index b, Index p, Index r, Index c)
Resize function.
The declarations of all the exception classes.
void resize(Index n)
Resize function.
Index nrows() const
Returns the number of rows.
void Append(Array< T > &out, const Array< T > &in, const String &direction, const Verbosity &)
This file contains the definition of Array.
This can be used to make arrays out of anything.
Index ncols() const
Returns the number of columns.
The implementation for String, the ARTS string class.
Index nelem() const
Returns the number of elements.
Index ncols() const
Returns the number of columns.
NUMERIC Numeric
The type to use for all floating point numbers.
Index npages() const
Returns the number of pages.
Index nbooks() const
Returns the number of books.
ConstMatrixView transpose(ConstMatrixView m)
Const version of transpose.
void resize(Index r, Index c)
Resize function.
Index nrows() const
Returns the number of rows.
INDEX Index
The type to use for all integer numbers and indices.
Index nelem() const
Number of elements.