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