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

org.broadinstitute.hellbender.utils.svd.SVD Maven / Gradle / Ivy

There is a newer version: 4.6.0.0
Show newest version
package org.broadinstitute.hellbender.utils.svd;

import org.apache.commons.math3.linear.RealMatrix;

/**
 * Interface for SVD implementation.  Leverages Apache Commons for data fields.
 */
public interface SVD {

    /**
     * Get the V matrix of a Singular Value Decomposition.
     * V has the property that V.transpose * V = I
     * Note that V need not be square.
     */
    RealMatrix getV();

    /**
     * Get the U matrix of a Singular Value Decomposition
     * U has the property that V.transpose * V = I
     * Note that U need not be square.
     */
    RealMatrix getU();

    /**
     * Get the pseudoinverse as calculated using the SVD
     */
    RealMatrix getPinv();

    /**
     * Get the singular values as an array.
     */
    double[] getSingularValues();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy