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