7374757677787980818283
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));
919293949596979899100101
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)
108109110111112113114115116117118
public void testLowerDenseCholeskyrcond() { int n = L.numRows(); DenseCholesky c = new DenseCholesky(n, false); c.factor(L.copy()); c.rcond(L); } public void testUpperDenseCholeskyrcond() {
117118119120121122123124125126
public void testUpperDenseCholeskyrcond() { int n = U.numRows(); DenseCholesky c = new DenseCholesky(n, true); c.factor(U.copy()); c.rcond(U); } }