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) 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 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).