Examples of factor()


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

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

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

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

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

  }

  public void testDenseLU() {
    int n = A.numRows();
    DenseLU lu = new DenseLU(n, n);
    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.DenseLU.factor()

  }

  public void testDenseLUtranspose() {
    int n = A.numRows();
    DenseLU lu = new DenseLU(n, n);
    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.DenseLU.factor()

  }

  public void testDenseLUrcond() {
    int n = A.numRows();
    DenseLU lu = new DenseLU(n, n);
    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.LQ.factor()

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

    public void testFactor() {
        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));
View Full Code Here

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

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

        PackCholesky c = new PackCholesky(n, 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.PackCholesky.factor()

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

        PackCholesky c = new PackCholesky(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.PackCholesky.factor()

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

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

        c.rcond(L);
    }

    public void testUpperPackCholeskyrcond() {
View Full Code Here

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

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

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

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

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

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

    public void testFactor() {
        QL ql = new QL(A.numRows(), A.numColumns());
        assertEquals(A, ql.factor(new DenseMatrix(A)));
    }

    public void testRepeatFactor() {
        QL ql = new QL(A.numRows(), A.numColumns());
        ql.factor(new DenseMatrix(A));
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.