VectorReshapeMatrix

Workspace.VectorReshapeMatrix(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, input: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix, direction: pyarts.arts.WorkspaceVariable | pyarts.arts.String | None = 'column', verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

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 output vector has the same length for both options.

Author(s): Patrick Eriksson

Parameters:
  • output (Vector) – Created vector. [OUT]

  • input (Matrix) – Input matrix. [IN]

  • direction (String, optional) – Direction. “row” or “column”. Defaults to "column" [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]