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
GOUT | out | (Sparse) | Sparse output matrix |
GIN | n | (Index) | Size of the matrix |
GIN | value | (Numeric, Default: 1) | The value along the diagonal. |