66 for (
Index i = 0; i < in_ref.
nelem(); ++i) out.push_back(in_ref[i]);
92 for (
Index i = 0; i < in_ref.
nelem(); ++i) out.push_back(in_ref[i]);
136 auto& newag = out.emplace_back(in);
137 newag.set_name(out_name);
138 newag.check(ws, verbosity);
153 for (
const auto & it : in) {
154 auto& newag = out.emplace_back(it);
155 newag.set_name(out_name);
156 newag.check(ws_in, verbosity);
179 const Vector& in_ref = *in_pnt;
213 const Matrix& in_ref = *in_pnt;
220 }
else if (direction ==
"leading") {
223 "Input and output matrix must have the same number of columns.");
232 }
else if (direction ==
"trailing") {
235 "Input and output matrix must have the same number of rows.");
246 R
"(Dimension must be either "leading" or "trailing".)");
262 if (direction ==
"leading") {
268 "Number of elements in the input Vector has to match "
269 "the number of columns in the output Matrix.");
275 }
else if (direction ==
"trailing") {
278 }
else if (in.
nelem()) {
281 "Number of elements in the input Vector has to match "
282 "the number of rows in the output Matrix.");
290 R
"(Dimension must be either "leading" or "trailing".)");
336 "Number of rows and columns in the input Matrix have to match\n"
337 "the number of rows and columns in the output Tensor3.");
367 const Tensor3& in_ref = *in_pnt;
374 "Tensor3 append is performed in pages dimension.\n"
375 "All other dimensions (rows, columns) must have identical\n"
376 "sizes in In and Out Tensor.");
411 "Dimensions of input Tensor3 have to match corresponding\n"
412 "dimensions in the output Tensor4.");
447 const Tensor4& in_ref = *in_pnt;
455 "Tensor4 append is performed in books dimension.\n"
456 "All other dimensions (pages, rows, columns) must have identical\n"
457 "sizes in In and Out Tensor.");
Declarations for agendas.
This file contains the definition of Array.
This can be used to make arrays out of anything.
Index nelem() const ARTS_NOEXCEPT
Index nrows() const noexcept
Index ncols() const noexcept
Index npages() const
Returns the number of pages.
Index nrows() const
Returns the number of rows.
Index ncols() const
Returns the number of columns.
Index ncols() const noexcept
Index nrows() const noexcept
Index nbooks() const noexcept
Index npages() const noexcept
Index nelem() const noexcept
Returns the number of elements.
void resize(Index r, Index c)
Resize function.
void resize(Index p, Index r, Index c)
Resize function.
void resize(Index b, Index p, Index r, Index c)
Resize function.
void resize(Index n)
Resize function.
The declarations of all the exception classes.
void Append(Array< T > &out, const String &, const Array< T > &in, const String &direction, const String &, const String &, const Verbosity &)
Implementation of Matrix, Vector, and such stuff.
NUMERIC Numeric
The type to use for all floating point numbers.
INDEX Index
The type to use for all integer numbers and indices.
ConstComplexMatrixView transpose(ConstComplexMatrixView m)
Const version of transpose.