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