Package cern.colt.matrix.impl

Examples of cern.colt.matrix.impl.DenseDoubleMatrix2D


    // covarianzmatrix
    double[][] mN = MatrixMath.multiply(dataDifference,
        MatrixMath.transpose(dataDifference));
   
    // eigenvaluedecomosition from cern
    DenseDoubleMatrix2D d = new DenseDoubleMatrix2D(mN);
    EigenvalueDecomposition e = new EigenvalueDecomposition(d);
    double[] eigenValues = MatrixMath.diag(e.getD().toArray());
    double[][] eigenVectors = e.getV().viewDice().toArray();
   
    // sorting
View Full Code Here

TOP

Related Classes of cern.colt.matrix.impl.DenseDoubleMatrix2D

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.