Go to the documentation of this file.
66 for (
Index i = 0; i < in_ref.
nelem(); ++i) out.push_back(in_ref[i]);
97 out[out.
nelem() - 1].set_name(out_name);
113 for (ArrayOfAgenda::const_iterator it = in.begin(); it != in.end(); it++) {
115 out[out.
nelem() - 1].set_name(out_name);
139 const Vector& in_ref = *in_pnt;
173 const Matrix& in_ref = *in_pnt;
180 }
else if (direction ==
"leading") {
183 "Input and output matrix must have the same number of columns.");
192 }
else if (direction ==
"trailing") {
195 "Input and output matrix must have the same number of rows.");
206 "Dimension must be either \"leading\" or \"trailing\".");
222 if (direction ==
"leading") {
228 "Number of elements in the input Vector has to match "
229 "the number of columns in the output Matrix.");
235 }
else if (direction ==
"trailing") {
238 }
else if (in.
nelem()) {
241 "Number of elements in the input Vector has to match "
242 "the number of rows in the output Matrix.");
250 "Dimension must be either \"leading\" or \"trailing\".");
296 "Number of rows and columns in the input Matrix have to match\n"
297 "the number of rows and columns in the output Tensor3.");
327 const Tensor3& in_ref = *in_pnt;
334 "Tensor3 append is performed in pages dimension.\n"
335 "All other dimensions (rows, columns) must have identical\n"
336 "sizes in In and Out Tensor.");
371 "Dimensions of input Tensor3 have to match corresponding\n"
372 "dimensions in the output Tensor4.");
407 const Tensor4& in_ref = *in_pnt;
415 "Tensor4 append is performed in books dimension.\n"
416 "All other dimensions (pages, rows, columns) must have identical\n"
417 "sizes in In and Out Tensor.");
void resize(Index b, Index p, Index r, Index c)
Resize function.
The declarations of all the exception classes.
Verbosity verbosity(Workspace &ws) noexcept
void resize(Index n)
Resize function.
Index nrows() const
Returns the number of rows.
This file contains the definition of Array.
void resize(Index p, Index r, Index c)
Resize function.
Index npages() const
Returns the number of pages.
Implementation of Matrix, Vector, and such stuff.
This can be used to make arrays out of anything.
Declarations for agendas.
Index ncols() const
Returns the number of columns.
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.
void resize(Index r, Index c)
Resize function.
Index nrows() const
Returns the number of rows.
Index nrows() const
Returns the number of rows.
void Append(Array< T > &out, const String &, const Array< T > &in, const String &direction, const String &, const String &, const Verbosity &)
Index ncols() const
Returns the number of columns.
INDEX Index
The type to use for all integer numbers and indices.
ConstComplexMatrixView transpose(ConstComplexMatrixView m)
Const version of transpose.
Index nelem() const
Number of elements.