Computes the upper-triangular Cholesky factor R of a
symmetric positive-definite adgeMatrix X such that
t(R) %*% R == X. Results are cached by object_id;
repeated calls with the same object return the cached factor.
Value
An amChol object.
Examples
m <- crossprod(matrix(rnorm(16), 4, 4)) + diag(4)
A <- adgeMatrix(m)
fac <- chol_factor(A)
fac
#> amChol [4x4 | strict | source: 20260702132121.033621-1cdf1817:am:30]