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.
nag_zhptri (f07pwc) 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 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).