nag_dpotri (f07fjc) computes the inverse of a real symmetric positive definite matrix
, where
has been factorized by
nag_dpotrf (f07fdc).
nag_dpotri (f07fjc) is used to compute the inverse of a real symmetric positive definite matrix
, the function must be preceded by a call to
nag_dpotrf (f07fdc), which computes the Cholesky factorization of
.
The computed inverse
satisfies
where
is a modest function of
,
is the
machine precision and
is the condition number of
defined by
The complex analogue of this function is
nag_zpotri (f07fwc).
This example computes the inverse of the matrix
, where
Here
is symmetric positive definite and must first be factorized by
nag_dpotrf (f07fdc).