Package no.uib.cipr.matrix

Examples of no.uib.cipr.matrix.LQ


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

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


        LQ lq = new LQ(A.numRows(), A.numColumns());
        assertEquals(A, lq.factor(new DenseMatrix(A)));
    }

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

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

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

        LQ lq = new LQ(Ac.numRows(), Ac.numColumns());
        assertEquals(Ac, lq.factor(new DenseMatrix(Ac)));
    }

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

TOP

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

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.