ARTS built-in documentation server

Workspace Method VectorReshapeMatrix

Description

Converts a Matrix to a Vector.

The matrix is reshaped into a vector. That is, all elements of the matrix
are kept. The elements can be extracted both in column (default) and row
order. The ouput vector has the same length for both options.

Authors: Patrick Eriksson

Synopsis

VectorReshapeMatrix( out, in, direction )

Variables

GOUTout(Vector)Created vector.
GINin(Matrix)Input matrix.
GINdirection(String, Default: "column")Direction. "row" or "column".