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