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);
98 out[out.
nelem() - 1].check(ws, verbosity);
113 for (ArrayOfAgenda::const_iterator it = in.begin(); it != in.end(); it++) {
115 out[out.
nelem() - 1].set_name(out_name);
116 out[out.
nelem() - 1].check(ws, verbosity);
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.");
INDEX Index
The type to use for all integer numbers and indices.
Index nelem() const
Number of elements.
Index npages() const
Returns the number of pages.
Index nrows() const
Returns the number of rows.
Index nrows() const
Returns the number of rows.
Index nelem() const
Returns the number of elements.
void Append(Array< T > &out, const String &, const Array< T > &in, const String &direction, const String &, const String &, const Verbosity &)
This file contains the definition of Array.
Index ncols() const
Returns the number of columns.
_CS_string_type str() const
Index ncols() const
Returns the number of columns.
Declarations for agendas.
The declarations of all the exception classes.
NUMERIC Numeric
The type to use for all floating point numbers.
Implementation of Matrix, Vector, and such stuff.
void resize(Index p, Index r, Index c)
Resize function.
Index npages() const
Returns the number of pages.
This can be used to make arrays out of anything.
ConstComplexMatrixView transpose(ConstComplexMatrixView m)
Const version of transpose.
void resize(Index n)
Resize function.
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.