ARTS built-in documentation server

Workspace Method MatrixIdentity

Description

Returns the identity matrix.

The size if the matrix created is n x n. Default is to return a
true identity matrix (I), but you can also select another value
along the diagonal by setting ``value``. That is, the output is
value * I.

Authors: Patrick Eriksson

Synopsis

MatrixIdentity( output, n, value )

Variables

GOUToutput(Matrix)Output matrix
GINn(Index)Size of the matrix
GINvalue(Numeric, Default: 1)The value along the diagonal.