PermutationMatrix.GetConditionNumber Method

Calculates the condition number of this matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public override double GetConditionNumber()

Return Value

Double
The condition number of the Matrix.

Remarks

The condition number of a matrix is defined as the ratio of its largest to its smallest singular value. The condition number of a permutation matrix is always 1.

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, which is returned as PositiveInfinity.

See Also