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
nag_dpotri (f07fjc) is not threaded by NAG in any implementation.
nag_dpotri (f07fjc) makes calls to BLAS and/or LAPACK routines, which may be threaded within the vendor library used by this implementation. Consult the documentation for the vendor library for further information.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this function. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.
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).