All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.maizegenetics.matrixalgebra.decomposition.SingularValueDecomposition Maven / Gradle / Ivy

Go to download

TASSEL is a software package to evaluate traits associations, evolutionary patterns, and linkage disequilibrium.

The newest version!
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy