Examples of ICholeskyLDUResult


Examples of mikera.matrixx.decompose.ICholeskyLDUResult

                  {4,5,1}};
        Matrix L = Matrix.create(dataL);

        double D[] = new double[]{1,3,7};

        ICholeskyLDUResult ans = CholeskyLDU.decompose(A);
        assertNotNull(ans);

        Matrix foundL = ans.getL().toMatrix();

        assertArrayEquals(L.getElements(),foundL.getElements(), 1e-5);
        assertArrayEquals(D, ans.getD().getLeadingDiagonal().toDoubleArray(), 1e-5);
    }
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.