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