Computes an estimate of the reciprocal of the condition number of a given matrix
with respect to the specified norm.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static float ConditionNumber( FloatUpperTriMatrix A, NormType norm ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ConditionNumber ( _ A As FloatUpperTriMatrix, _ norm As NormType _ ) As Single |
| Visual C++ |
|---|
public: static float ConditionNumber( FloatUpperTriMatrix^ A, NormType norm ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.FloatUpperTriMatrix
A upper triangular matrix.
- norm
- Type: CenterSpace.NMath.Core..::.NormType
The norm used to compute the condition number.
Return Value
An estimate of the reciprocal of the condition number.
Remarks
The condition number of a matrix
A is:
CopyC#
where AInv is the inverse of the matrix A. This function
returns an estimate of the reciprocal of the condition number, rho = 1/kappa.
kappa = ||A|| ||AInv||