B
7576777879808182838485
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) for (int j = 0; j < n; ++j) if (i != j)
9293949596979899100101102
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) for (int j = 0; j < n; ++j) if (i != j)