net.maizegenetics.matrixalgebra.decomposition.SingularValueDecomposition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tassel6 Show documentation
Show all versions of tassel6 Show documentation
TASSEL 6 is a software package to evaluate traits association. Feature Tables are at the heart of the package where, a feature is a range of positions or a single position. Row in the that table are taxon.
package net.maizegenetics.matrixalgebra.decomposition;
import net.maizegenetics.matrixalgebra.Matrix.DoubleMatrix;
/**
* @author Peter Bradbury
* created 7/22/2010
*/
public interface SingularValueDecomposition {
/**
* for the decomposition of A, A = USV'
* @return U (orthogonal)
*/
DoubleMatrix getU(boolean transpose);
/**
* for the decomposition of A, A = USV'
* @return V (orthogonal)
*/
DoubleMatrix getV(boolean transpose);
/**
* for the decomposition of A, A = USV'
* @return S, the diagonal matrix of singular values
*/
DoubleMatrix getS();
/**
* for the decomposition of A, A = USV'
* @return the singular values equal to the diagonal of S
*/
double[] getSingularValues();
/**
* @return the rank of the matrix that was decomposed
*/
int getRank();
}