Package no.uib.cipr.matrix.sparse

Examples of no.uib.cipr.matrix.sparse.ICC.apply()


    void testFactorization(Matrix A, Vector x) {
        Vector b = A.mult(x, x.copy());

        ICC icc = new ICC(new CompRowMatrix(A));
        icc.setMatrix(A);
        icc.apply(b, x);

        Vector r = A.multAdd(-1, x, b.copy());

        assertEquals(0, r.norm(Vector.Norm.TwoRobust), 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.