Returns the numerical rank of a matrix using the specified tolerance.
Namespace: Extreme.Mathematics.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public override int Rank(
T tolerance
)
Public Overrides Function Rank (
tolerance As T
) As Integer
public:
virtual int Rank(
T tolerance
) override
abstract Rank :
tolerance : 'T -> int
override Rank :
tolerance : 'T -> int
Parameters
- tolerance
- Type: T
The absolute tolerance used to determine if a
matrix component is considered zero.
Return Value
Type:
Int32An integer indicating the numerical rank of the matrix.
If tolerance is negative, the default tolerance is used. The default tolerance
is equal to the product of the machine precision, the largest dimension of the matrix, and the one-norm of the matrix.
The rank is determined by counting the number of diagonal elements of the upper-triangular component of
the QR decomposition whose absolute value is greater than the tolerance.
Numerical Libraries
Supported in: 6.0
Reference