| NMathFunctionsConditionNumber(DoubleSymmetricMatrix, Boolean) Method |
Computes an estimate of the reciprocal of the condition number of a given matrix in the
1-norm.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double ConditionNumber(
DoubleSymmetricMatrix A,
bool isPositiveDefinite
)
Public Shared Function ConditionNumber (
A As DoubleSymmetricMatrix,
isPositiveDefinite As Boolean
) As Double
public:
static double ConditionNumber(
DoubleSymmetricMatrix^ A,
bool isPositiveDefinite
)
static member ConditionNumber :
A : DoubleSymmetricMatrix *
isPositiveDefinite : bool -> float
Parameters
- A DoubleSymmetricMatrix
- A symmetric matrix.
- isPositiveDefinite Boolean
- true if A is positive definite.
Return Value
DoubleAn estimate of the reciprocal of the condition number.
Remarks
The condition number of a matrix
A is:
where
AInv is the inverse of the matrix
A. This function
returns an estimate of the reciprocal of the condition number,
rho = 1/kappa.
See Also