7879808182838485868788
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)
9596979899100101102103104105
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)
112113114115116117118119120121122
public void testLowerBandCholeskyrcond() { int n = L.numRows(); BandCholesky c = new BandCholesky(n, kl, false); c.factor(L.copy()); c.rcond(L); } public void testUpperBandCholeskyrcond() {
121122123124125126127128129130
public void testUpperBandCholeskyrcond() { int n = U.numRows(); BandCholesky c = new BandCholesky(n, ku, true); c.factor(U.copy()); c.rcond(U); } }