F08TSF (ZHPGST) reduces a complex Hermitian-definite generalized eigenproblem
,
or
to the standard form
, where
is a complex Hermitian matrix and
has been factorized by
F07GRF (ZPPTRF), using packed storage.
To reduce the complex Hermitian-definite generalized eigenproblem
,
or
to the standard form
using packed storage, F08TSF (ZHPGST) must be preceded by a call to
F07GRF (ZPPTRF) which computes the Cholesky factorization of
;
must be positive definite.
The different problem types are specified by the parameter
ITYPE, as indicated in the table below. The table shows how
is computed by the routine, and also how the eigenvectors
of the original problem can be recovered from the eigenvectors of the standard form.
ITYPE |
Problem |
UPLO |
|
|
|
|
|
'U'
'L' |
|
|
|
|
|
'U'
'L' |
|
|
|
|
|
'U'
'L' |
|
|
|
Forming the reduced matrix
is a stable procedure. However it involves implicit multiplication by
if (
) or
(if
or
). When F08TSF (ZHPGST) is used as a step in the computation of eigenvalues and eigenvectors of the original problem, there may be a significant loss of accuracy if
is ill-conditioned with respect to inversion.
See the document for
F08SNF (ZHEGV) for further details.
The real analogue of this routine is
F08TEF (DSPGST).
This example computes all the eigenvalues of
, where
and
using packed storage. Here
is Hermitian positive definite and must first be factorized by
F07GRF (ZPPTRF). The program calls F08TSF (ZHPGST) to reduce the problem to the standard form
; then
F08GSF (ZHPTRD) to reduce
to tridiagonal form, and
F08JFF (DSTERF) to compute the eigenvalues.