Package org.ejml.data

Examples of org.ejml.data.BlockMatrix64F


        return curr-prev;
    }

    public static long transposeBlock( DenseMatrix64F mat , int numTrials) {

        BlockMatrix64F A = new BlockMatrix64F(mat.numRows,mat.numCols);
        BlockMatrix64F A_t = new BlockMatrix64F(mat.numCols,mat.numRows);

        BlockMatrixOps.convert(mat,A);

        long prev = System.currentTimeMillis();
View Full Code Here


        return System.currentTimeMillis() - prev;
    }

    public static long block( DenseMatrix64F orig , int numTrials ) {

        BlockMatrix64F A = BlockMatrixOps.convert(orig);
        BlockMatrix64HouseholderQR alg = new BlockMatrix64HouseholderQR();

        BlockMatrix64F B;

        long prev = System.currentTimeMillis();

        for( long i = 0; i < numTrials; i++ ) {
            if( alg.inputModified())
View Full Code Here

        return curr-prev;
    }

    public static long multBlockNative( DenseMatrix64F matA , DenseMatrix64F matB ,
                                        DenseMatrix64F matResult , int numTrials) {
        BlockMatrix64F blockA = BlockMatrixOps.convert(matA);
        BlockMatrix64F blockB = BlockMatrixOps.convert(matB);
        BlockMatrix64F blockC = new BlockMatrix64F(matResult.numRows,matResult.numCols);

        long prev = System.currentTimeMillis();

        for( int i = 0; i < numTrials; i++ ) {
            BlockMatrixOps.mult(blockA,blockB,blockC);
View Full Code Here

TOP

Related Classes of org.ejml.data.BlockMatrix64F

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.