Calculates the condition
number of this Matrix.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable Function GetConditionNumber As Double |
| C# |
|---|
public virtual double GetConditionNumber () |
| C++ |
|---|
public: virtual double GetConditionNumber () |
Return Value
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. 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, which is returned as PositiveInfinity.