Package no.uib.cipr.matrix

Examples of no.uib.cipr.matrix.RQ


        RQ rq = new RQ(Ac.numRows(), Ac.numColumns());
        assertEquals(Ac, rq.factor(new DenseMatrix(Ac)));
    }

    public void testRepeatFactorNonSquare() {
        RQ rq = new RQ(Ac.numRows(), Ac.numColumns());
        rq.factor(new DenseMatrix(Ac));
        assertEquals(Ac, rq);
        rq.factor(new DenseMatrix(Ac));
        assertEquals(Ac, rq);
    }
View Full Code Here


        assertEquals(A, RQ.factorize(A));
        assertEquals(A, RQ.factorize(A));
    }

    public void testFactor() {
        RQ c = new RQ(A.numRows(), A.numColumns());
        assertEquals(A, c.factor(new DenseMatrix(A)));
    }
View Full Code Here

        RQ c = new RQ(A.numRows(), A.numColumns());
        assertEquals(A, c.factor(new DenseMatrix(A)));
    }

    public void testRepeatFactor() {
        RQ rq = new RQ(A.numRows(), A.numColumns());
        rq.factor(new DenseMatrix(A));
        assertEquals(A, rq);
        rq.factor(new DenseMatrix(A));
        assertEquals(A, rq);
    }
View Full Code Here

        assertEquals(Ac, RQ.factorize(Ac));
        assertEquals(Ac, RQ.factorize(Ac));
    }

    public void testFactorNonSquare() {
        RQ rq = new RQ(Ac.numRows(), Ac.numColumns());
        assertEquals(Ac, rq.factor(new DenseMatrix(Ac)));
    }
View Full Code Here

TOP

Related Classes of no.uib.cipr.matrix.RQ

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.