Package ubic.basecode.math.linalg
Class SingularValueDecomposition<R,C>
java.lang.Object
ubic.basecode.math.linalg.SingularValueDecomposition<R,C>
SVD for DoubleMatrix.
- Author:
- paul
-
Constructor Details
-
SingularValueDecomposition
- Parameters:
matrix
-
-
-
Method Details
-
cond
public double cond()- Returns:
- the condition number of the matrix
- See Also:
-
getS
- Returns:
- See Also:
-
getSingularValues
public double[] getSingularValues()- Returns:
- See Also:
-
getU
- Returns:
- See Also:
-
getV
- Returns:
- See Also:
-
norm2
public double norm2()- Returns:
- See Also:
-
rank
public int rank()- Returns:
- See Also:
-
toString
-