This example computes all the eigenvalues of
, where
Here
is symmetric positive definite and must first be factorized by
dpotrf. The program calls
dsygst to reduce the problem to the standard form
; then
dsytrd to reduce
to tridiagonal form, and
dsterf to compute the eigenvalues.