nag_dsptri (f07pjc) computes the inverse of a real symmetric indefinite matrix
, where
has been factorized by
nag_dsptrf (f07pdc), using packed storage.
nag_dsptri (f07pjc) is used to compute the inverse of a real symmetric indefinite matrix
, the function must be preceded by a call to
nag_dsptrf (f07pdc), 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_dsptri (f07pjc) is not threaded by NAG in any implementation.
nag_dsptri (f07pjc) 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
Users' Note for your implementation for any additional implementation-specific information.
The complex analogues of this function are
nag_zhptri (f07pwc) for Hermitian matrices and
nag_zsptri (f07qwc) for symmetric matrices.
This example computes the inverse of the matrix
, where
Here
is symmetric indefinite, stored in packed form, and must first be factorized by
nag_dsptrf (f07pdc).