This example computes the Schur factorization of the matrix
, where
Here
is general and must first be reduced to Hessenberg form by
dgehrd. The program then calls
dorghr to form
, and passes this matrix to
dhseqr which computes the Schur factorization of
.