This example reorders the Schur factorization of the matrix such that the two real eigenvalues appear as the leading elements on the diagonal of the reordered matrix , where
and
The example program for dtrsen illustrates the computation of error bounds for the eigenvalues.