This example computes all the eigenvalues and eigenvectors of the matrix
, where
using packed storage. Here
is Hermitian and must first be reduced to tridiagonal form by
zhptrd. The program then calls
zupgtr to form
, and passes this matrix to
zsteqr which computes the eigenvalues and eigenvectors of
.