DiagonalMatrix<T>.EstimateConditionNumber Method

Calculates an estimate for the condition number of this matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public override T EstimateConditionNumber()

Return Value

T
An estimate for the condition number of the Matrix<T>.

Remarks

The condition number of a matrix is defined as the ratio of its largest to its smallest singular value. For a diagonal matrix, the condition number is very easy to calculate. It is the ratio of the largest to the smallest diagonal element. This method returns the exact condition number, not just an estimate.

The condition number gives an indication of the worst case loss of precision when solving a system of simultaneous linear equations.

The condition number of a singular matrix is infinite.

See Also