ARTS built-in documentation server

Workspace Method SparseMatrixIdentity

Description

Returns a sparse dentity matrix.

The size of 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 be setting *value*. That is, the output is
value*I.

Authors: Simon Pfreundschuh

Synopsis

SparseMatrixIdentity( out, n, value )

Variables

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