nag_zhptri (f07pwc) computes the inverse of a complex Hermitian indefinite matrix
, where
has been factorized by
nag_zhptrf (f07prc), using packed storage.
nag_zhptri (f07pwc) is used to compute the inverse of a complex Hermitian indefinite matrix
, the function must be preceded by a call to
nag_zhptrf (f07prc), which computes the Bunch–Kaufman factorization of
, using packed storage.
The computed inverse
satisfies a bound of the form
- if , ;
- if , ,
is a modest linear function of
, and
is the
machine precision.
The real analogue of this function is
nag_dsptri (f07pjc).
This example computes the inverse of the matrix
, where
Here
is Hermitian indefinite, stored in packed form, and must first be factorized by
nag_zhptrf (f07prc).