nag_dspev (f08gac) computes all the eigenvalues and, optionally, all the eigenvectors of a real by symmetric 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.
The complex analogue of this function is
nag_zhpev (f08gnc).
This example finds all the eigenvalues of the symmetric matrix
together with approximate error bounds for the computed eigenvalues.