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.DPOTRI
.
LAPACK is from http://www.netlib.org/lapack and its guide is listed
in the references.Dongarra, J. J., Bunch, J. R., Moler, C. B. and Stewart, G. W. (1978) LINPACK Users Guide. Philadelphia: SIAM Publications.
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