nag_zhpgst (f08tsc) reduces a complex Hermitian-definite generalized eigenproblem
,
or
to the standard form
, where
is a complex Hermitian matrix and
has been factorized by
nag_zpptrf (f07grc), using packed storage.
To reduce the complex Hermitian-definite generalized eigenproblem
,
or
to the standard form
using packed storage, nag_zhpgst (f08tsc) must be preceded by a call to
nag_zpptrf (f07grc) which computes the Cholesky factorization of
;
must be positive definite.
The different problem types are specified by the argument
comp_type, as indicated in the table below. The table shows how
is computed by the function, and also how the eigenvectors
of the original problem can be recovered from the eigenvectors of the standard form.
comp_type |
Problem |
uplo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nag_zhpgst (f08tsc) 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_dspgst (f08tec).
This example computes all the eigenvalues of
, where
and
using packed storage. Here
is Hermitian positive definite and must first be factorized by
nag_zpptrf (f07grc). The program calls nag_zhpgst (f08tsc) to reduce the problem to the standard form
; then
nag_zhptrd (f08gsc) to reduce
to tridiagonal form, and
nag_dsterf (f08jfc) to compute the eigenvalues.