Package edu.ucla.sspace.matrix.factorization

Examples of edu.ucla.sspace.matrix.factorization.SingularValueDecompositionMatlab


    public static SingularValueDecomposition
            getFastestAvailableFactorization() {
        if (isSVDLIBCavailable())
            return new SingularValueDecompositionLibC();
        if (isMatlabAvailable())
            return new SingularValueDecompositionMatlab();
        if (isOctaveAvailable())
            return new SingularValueDecompositionOctave();
        throw new UnsupportedOperationException("Cannot find a valid SVD implementation");
    }
View Full Code Here


     * Returns the {@link SingularValueDecomposition} implementation corresponding to
     * the {@link Algorithm} name.
     */
    public static SingularValueDecomposition getFactorization(Algorithm alg) {
        switch (alg)  {
            case MATLAB: return new SingularValueDecompositionMatlab();
            case OCTAVE: return new SingularValueDecompositionOctave();
            case SVDLIBC: return new SingularValueDecompositionLibC();
            case ANY: return getFastestAvailableFactorization();
            default: throw new UnsupportedOperationException("Cannot find a valid SVD implementation");
        }
View Full Code Here

TOP

Related Classes of edu.ucla.sspace.matrix.factorization.SingularValueDecompositionMatlab

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.