F08GNF (ZHPEV) computes all the eigenvalues and, optionally, all the eigenvectors of a complex by Hermitian matrix in packed storage.
Anderson E, Bai Z, Bischof C, Blackford S, Demmel J, Dongarra J J, Du Croz J J, Greenbaum A, Hammarling S, McKenney A and Sorensen D (1999)
LAPACK Users' Guide (3rd Edition) SIAM, Philadelphia
http://www.netlib.org/lapack/lug
The computed eigenvalues and eigenvectors are exact for a nearby matrix
, where
and
is the
machine precision. See Section 4.7 of
Anderson et al. (1999) for further details.
Each eigenvector is normalized so that the element of largest absolute value is real and positive.
The real analogue of this routine is
F08GAF (DSPEV).
This example finds all the eigenvalues of the Hermitian matrix
together with approximate error bounds for the computed eigenvalues.