MatrixIdentity
- Workspace.MatrixIdentity(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix, 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 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.Author(s): Patrick Eriksson