SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.algebra.linear.matrix.doubles.factorization.svd

Interface SVDDecomposition

• Method Summary

All Methods
Modifier and Type Method and Description
DiagonalMatrix D()
Get the D matrix as in SVD decomposition.
double[] getSingularValues()
Get the normalized, hence positive, singular values.
Matrix U()
Get the U matrix as in SVD decomposition.
Matrix Ut()
Get the transpose of U, i.e., U().t().
Matrix V()
Get the V matrix as in SVD decomposition.
• Method Detail

• getSingularValues

double[] getSingularValues()
Get the normalized, hence positive, singular values. They may differ from the values in D if this computation turns off normalization.
Returns:
the singular values
• D

DiagonalMatrix D()
Get the D matrix as in SVD decomposition.
Returns:
D
• U

Matrix U()
Get the U matrix as in SVD decomposition.
Returns:
U
• Ut

Matrix Ut()
Get the transpose of U, i.e., U().t().
Returns:
U().t()
• V

Matrix V()
Get the V matrix as in SVD decomposition.
Returns:
V