This example computes all the eigenvalues and eigenvectors of the matrix
, where
Here
is Hermitian and is treated as a band matrix. The program first calls
zhbtrd to reduce
to tridiagonal form
, and to form the unitary matrix
; the results are then passed to
zsteqr which computes the eigenvalues and eigenvectors of
.