Computes an estimate of the reciprocal of the condition number of a given matrix
with respect to the one norm.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static float ConditionNumber( FloatSymBandMatrix A, bool isPositiveDefinite ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ConditionNumber ( _ A As FloatSymBandMatrix, _ isPositiveDefinite As Boolean _ ) As Single |
| Visual C++ |
|---|
public: static float ConditionNumber( FloatSymBandMatrix^ A, bool isPositiveDefinite ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.FloatSymBandMatrix
A symmetric banded matrix.
- isPositiveDefinite
- Type: System..::.Boolean
true if A is positive definite. false otherwise.
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||