Matrix<T>.GetConditionNumber Method

Calculates the condition number of this matrix.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public virtual T GetConditionNumber()

Return Value

T
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. Calculating the singular values is an expensive operation. The EstimateConditionNumber() method is faster, but returns an approximation to the condition number.

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