| NMathFunctionsConditionNumber(FloatMatrix, NormType) Method |
Computes the reciprocal of the condition number of a given matrix
in the specified norm type.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static float ConditionNumber(
FloatMatrix A,
NormType norm
)
Public Shared Function ConditionNumber (
A As FloatMatrix,
norm As NormType
) As Single
public:
static float ConditionNumber(
FloatMatrix^ A,
NormType norm
)
static member ConditionNumber :
A : FloatMatrix *
norm : NormType -> float32
Parameters
- A FloatMatrix
- A matrix.
- norm NormType
- The norm used to compute the condition number.
Return Value
SingleThe reciprocal of the condition number of the matrix
A.
Exceptions Remarks
The condition number of
A is:
where
AInv is the inverse of the
matrix
A. This function returns
rho = 1/kappa.
If you only need an estimate of the condition number, which
is faster to compute, use
NMathFunctions.EstimateConditionNumber.
See Also