Package mikera.matrixx.solve.impl

Examples of mikera.matrixx.solve.impl.CholeskyLDUSolver.solve()


    Matrix x;

        CholeskyLDUSolver solver = new CholeskyLDUSolver();
        assertTrue(solver.setA(A));
        Matrix A_inv_result = solver.invert().toMatrix();
        x = solver.solve(b).toMatrix();

        double[][] data_A_inv_expected = {{1.453515, -0.199546, -0.013605},
                          {-0.199546, 0.167800, -0.034014},
                          {-0.013605, -0.034014, 0.020408}};
        Matrix A_inv_expected = Matrix.create(data_A_inv_expected);
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.