MatrixMathInvertDiagonalMatrix Method |
This inverts the provided diagonal matrix. There is no check that the matrix is really
diagonal, but the algorithm sets the elements outside the diagonal to zero, assuming
that this are small arithmetic errors.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void InvertDiagonalMatrix(
IMatrix<double> a
)
Parameters
- a IMatrixDouble
- The matrix to invert. After calling the matrix is inverted, i.e.
the diagonal elements are replaced by their inverses, and the outer diagonal elements are set to zero.
See Also