Last chance! 50% off unlimited learning
Sale ends in
chol2inv(x, size = NCOL(x), LINPACK = FALSE)
size
columns of the upper triangle
contain the Choleski decomposition of the matrix to be inverted.x
containing the
Choleski decomposition.chol
, solve
.cma <- chol(ma <- cbind(1, 1:3, c(1,3,7)))
ma %*% chol2inv(cma)
Run the code above in your browser using DataLab