Non Negative Matrix Factorization<T>.Rank Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Returns the numerical rank of the matrix.
Overload List
Rank() | Returns the numerical rank of a matrix. |
Rank( | Returns the numerical rank of a matrix using the specified tolerance. |
Rank(T)
Returns the numerical rank of a matrix using the specified tolerance.
public override int Rank(
T tolerance
)
Parameters
- tolerance T
- The absolute tolerance used to determine if a matrix component is considered zero.
Return Value
Int32An integer indicating the numerical rank of the matrix.
Remarks
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 calling the Rank(T) method of the BaseMatrix.