SparseIdentity
- Workspace.SparseIdentity(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.Sparse, n: pyarts.arts.WorkspaceVariable | pyarts.arts.Index, value: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = 1, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None
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.Author(s): Simon Pfreundschuh