Cholesky_inverse
Source:R/gen-namespace-docs.R, R/gen-namespace-examples.R, R/gen-namespace.R
torch_cholesky_inverse.RdCholesky_inverse
cholesky_inverse(input, upper=False, out=NULL) -> Tensor
Computes the inverse of a symmetric positive-definite matrix inv. The inverse is computed using
LAPACK routines dpotri and spotri (and the corresponding MAGMA routines).
If upper is FALSE,
upper is TRUE or not provided,
Examples
if (torch_is_installed()) {
if (FALSE) { # \dontrun{
a = torch_randn(c(3, 3))
a = torch_mm(a, a$t()) + 1e-05 * torch_eye(3) # make symmetric positive definite
u = torch_cholesky(a)
a
torch_cholesky_inverse(u)
a$inverse()
} # }
}