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" INDEX Index
The type to use for all integer numbers and indices.
ConstMatrixView transpose(ConstMatrixView m)
Const version of transpose.
Index nelem() const
Number of elements.
Index npages() const
Returns the number of pages.
Index nrows() const
Returns the number of rows.
void Append(Array< T > &out, const Array< T > &in, const String &direction, const Verbosity &)
Index nelem() const
Returns the number of elements.
This file contains the definition of Array.
The implementation for String, the ARTS string class.
Index ncols() const
Returns the number of columns.
The declarations of all the exception classes.
NUMERIC Numeric
The type to use for all floating point numbers.
This can be used to make arrays out of anything.
void resize(Index n)
Assignment operator from VectorView.
Index nbooks() const
Returns the number of books.
Index ncols() const
Returns the number of columns.
Index nrows() const
Returns the number of rows.
void resize(Index b, Index p, Index r, Index c)
Resize function.
void resize(Index r, Index c)
Resize function.