| NMathFunctionsConditionNumber(DoubleMatrix, 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 double ConditionNumber(
DoubleMatrix A,
NormType norm
)
Public Shared Function ConditionNumber (
A As DoubleMatrix,
norm As NormType
) As Double
public:
static double ConditionNumber(
DoubleMatrix^ A,
NormType norm
)
static member ConditionNumber :
A : DoubleMatrix *
norm : NormType -> float
Parameters
- A DoubleMatrix
- A matrix.
- norm NormType
- The norm used to compute the condition number.
Return Value
DoubleThe 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