ARTS built-in documentation server

Workspace Method MatrixIdentity

Description

Returns an 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( out, n, value )

Variables

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