mikera.matrixx.algo
Class Rank
- java.lang.Object
-
- mikera.matrixx.algo.Rank
-
public class Rank extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intcompute(AMatrix A)Returns the rank of a matrix.static intcompute(AMatrix A, double threshold)Returns the rank of a matrix.static intcompute(ISVDResult result)Directly computes rank of matrix whose SVD decomposition has already been computed.static intcompute(ISVDResult result, double threshold)Directly computes rank of matrix whose SVD decomposition has already been computed.
-
-
-
Method Detail
-
compute
public static int compute(AMatrix A)
Returns the rank of a matrix.- Parameters:
A- The input matrix- Returns:
- The matrix's rank
-
compute
public static int compute(AMatrix A, double threshold)
Returns the rank of a matrix.- Parameters:
A- The input matrixthreshold- Tolerance used to determine if a singular value is singular.- Returns:
- The matrix's rank
-
compute
public static int compute(ISVDResult result)
Directly computes rank of matrix whose SVD decomposition has already been computed.- Parameters:
result- The result of an SVD decomposition- Returns:
- The matrix's rank
-
compute
public static int compute(ISVDResult result, double threshold)
Directly computes rank of matrix whose SVD decomposition has already been computed.- Parameters:
result- The result of an SVD decompositionthreshold- Tolerance used to determine if a singular value is singular.- Returns:
- The matrix's rank
-
-
DMelt 3.0 © DataMelt by jWork.ORG