Package mikera.matrixx

Examples of mikera.matrixx.Matrix.multiply()


    }

    public void testQuality_scale( CholeskySolver solver ) {
      Matrix A = DiagonalMatrix.create(3,2,1).toMatrix();
      Matrix B = Matrix.create(A);
      B.multiply(0.001);

        assertTrue(solver.setA(A));
        double qualityA = solver.quality();

        assertTrue(solver.setA(B));
View Full Code Here


            int N = sizes[s];
//            System.out.println("N = "+N);

            for( int i = 0; i < 2; i++ ) {
                Matrix A = Matrix.createRandom(N,N);
                A.multiply(2);
                A.sub(1);
               
                assertNotNull(alg.decompose(A));

                performStandardTests(alg,A,-1);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.