inv_triangular.Rd
Quickly computes the inverse of a upper triangular matrix (e.g. a Cholesky factor).
inv_triangular(U)
Equivalent R code:
X.chol.inv <- backsolve(r = X.chol, x = diag(p))
Other C++ functions:
chol2inv()
,
diwishart_inverse()
,
dmvnorm()
,
inv_Cholesky_from_Cholesky()
,
inv_sympd_tol()
,
isCholeskyOn()
,
ldet_from_Cholesky()
,
logCummeanExp()
,
logCumsumExp()
,
logSumExpMean()
,
logSumExp()
,
marginalLikelihood_internal()
,
rmvnorm()
,
rwish()
Other math functions:
chol2inv()
,
inv_Cholesky_from_Cholesky()
,
inv_pd()
,
inv_sympd_tol()
,
ldet_from_Cholesky()
,
logCummeanExp()
,
logCumsumExp()
,
logSumExpMean()
,
logSumExp()