Examples of factor()


Examples of no.uib.cipr.matrix.BandCholesky.factor()

    public void testLowerBandCholesky() {
        int n = L.numRows();

        BandCholesky c = new BandCholesky(n, kl, false);
        c.factor(L.copy());

        c.solve(I);

        Matrix J = I.mult(L, new DenseMatrix(n, n));
        for (int i = 0; i < n; ++i)
View Full Code Here

Examples of no.uib.cipr.matrix.BandCholesky.factor()

    public void testUpperBandCholesky() {
        int n = U.numRows();

        BandCholesky c = new BandCholesky(n, ku, true);
        c.factor(U.copy());

        c.solve(I);

        Matrix J = I.mult(U, new DenseMatrix(n, n));
        for (int i = 0; i < n; ++i)
View Full Code Here

Examples of no.uib.cipr.matrix.BandCholesky.factor()

    public void testLowerBandCholeskyrcond() {
        int n = L.numRows();

        BandCholesky c = new BandCholesky(n, kl, false);
        c.factor(L.copy());

        c.rcond(L);
    }

    public void testUpperBandCholeskyrcond() {
View Full Code Here

Examples of no.uib.cipr.matrix.BandCholesky.factor()

    public void testUpperBandCholeskyrcond() {
        int n = U.numRows();

        BandCholesky c = new BandCholesky(n, ku, true);
        c.factor(U.copy());

        c.rcond(U);
    }
}
View Full Code Here

Examples of no.uib.cipr.matrix.BandLU.factor()

    public void testBandLU() {
        int n = A.numRows();

        BandLU lu = new BandLU(n, kl, ku);
        lu.factor(A.copy());

        lu.solve(I);

        Matrix J = I.mult(A, new DenseMatrix(n, n));
        for (int i = 0; i < n; ++i)
View Full Code Here

Examples of no.uib.cipr.matrix.BandLU.factor()

    public void testBandLUtranspose() {
        int n = A.numRows();

        BandLU lu = new BandLU(n, kl, ku);
        lu.factor(A.copy());

        lu.transSolve(I);

        Matrix J = I.transAmult(A, new DenseMatrix(n, n));
        for (int i = 0; i < n; ++i)
View Full Code Here

Examples of no.uib.cipr.matrix.BandLU.factor()

    public void testBandLUrcond() {
        int n = A.numRows();

        BandLU lu = new BandLU(n, kl, ku);
        lu.factor(A.copy());

        lu.rcond(A, Matrix.Norm.One);
        lu.rcond(A, Matrix.Norm.Infinity);
    }
}
View Full Code Here

Examples of no.uib.cipr.matrix.DenseCholesky.factor()

    public void testLowerDenseCholesky() {
        int n = L.numRows();

        DenseCholesky c = new DenseCholesky(n, false);
        c.factor(L.copy());

    assert I != null;
        c.solve(I);

        Matrix J = I.mult(L, new DenseMatrix(n, n));
View Full Code Here

Examples of no.uib.cipr.matrix.DenseCholesky.factor()

    public void testUpperDenseCholesky() {
        int n = U.numRows();

        DenseCholesky c = new DenseCholesky(n, true);
        c.factor(U.copy());

        c.solve(I);

        Matrix J = I.mult(U, new DenseMatrix(n, n));
        for (int i = 0; i < n; ++i)
View Full Code Here

Examples of no.uib.cipr.matrix.DenseCholesky.factor()

    public void testLowerDenseCholeskyrcond() {
        int n = L.numRows();

        DenseCholesky c = new DenseCholesky(n, false);
        c.factor(L.copy());

        c.rcond(L);
    }

    public void testUpperDenseCholeskyrcond() {
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.