ConstantMatrix<T>.GetConditionNumber 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.3
C#
public override T GetConditionNumber()

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.

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