ARTS built-in documentation server

Workspace Method Reduce

Description

Reduces a larger class to a smaller class of same size.

The Reduce command reduces all "1"-dimensions to nil.  Examples:
	1) 1 Vector can be reduced to a Numeric
	2) 2x1 Matrix can be reduced to 2 Vector
	3) 1x3x1 Tensor3 can be reduced to 3 Vector
	4) 1x1x1x1 Tensor4 can be reduced to a Numeric
	5) 3x1x4x1x5 Tensor5 can only be reduced to 3x4x5 Tensor3
	6) 1x1x1x1x2x3 Tensor6 can be reduced to 2x3 Matrix
	7) 2x3x4x5x6x7x1 Tensor7 can be reduced to 2x3x4x5x6x7 Tensor6
And so on

Authors: Oliver Lemke, Richard Larsson

Synopsis

Reduce( o, i )

Variables

GOUTo(Numeric, Numeric, Numeric, Numeric, Numeric, Numeric, Numeric, Vector, Vector, Vector, Vector, Vector, Vector, Matrix, Matrix, Matrix, Matrix, Matrix, Tensor3, Tensor3, Tensor3, Tensor3, Tensor4, Tensor4, Tensor4, Tensor5, Tensor5, Tensor6)Reduced form of input.
GINi(Vector, Matrix, Tensor3, Tensor4, Tensor5, Tensor6, Tensor7, Matrix, Tensor3, Tensor4, Tensor5, Tensor6, Tensor7, Tensor3, Tensor4, Tensor5, Tensor6, Tensor7, Tensor4, Tensor5, Tensor6, Tensor7, Tensor5, Tensor6, Tensor7, Tensor6, Tensor7, Tensor7)Over-dimensioned input