This example computes the two smallest eigenvalues, and the associated eigenvectors, of the matrix
, where
Here
is Hermitian and must first be reduced to tridiagonal form
by
zhetrd. The program then calls
dstebz to compute the requested eigenvalues and
zstein to compute the associated eigenvectors of
. Finally
zunmtr is called to transform the eigenvectors to those of
.