Especially important for real Hessenberg-like matrices is the fact that they only have real eigenvalues and complex conjugate eigenvalues. Based on a double shift strategy, we can hence restrict the computations of these eigenvalues to real operations (see [19]).
Assume we are working with the double shift strategy and the
eigenvalues returned from the lower right
block
are
complex conjugate eigenvalues
and
.
Considering Equation
, we obtain the following relation:
| (8) |
An initial comparison of the proposed method with MATLAB's
EIG is made, thereby plotting the smallest
singular value of
(see Figure
). This is
done similarly as in the real symmetric case.
Due to
computational limits (we need to compute
times the singular
value decomposition), we only show results for a
matrix.
The figure clearly shows that both methods are equally accurate.
In the following figure a comparison in accuracy between MATLAB and
the proposed method is made. Test matrices are generated, sizes
ranging from
to
, with stepsize
. For each size
examples were run. The error plotted takes into consideration the
condition number of the eigenvalues. Denote with
the
condition number corresponding to the eigenvalue
. Let us consider the
vector
and
for which
The error is plotted for each testcase. The average results of the five
testcases are connected via a line. In the next figure
(Figure
) we show the
average number of iterations for computing an eigenvalue. This is the
total number of
-steps performed divided by the number of eigenvalues.
Each marker represents the results of an individual experiment,
whereas the line depicts the average among all
experiments of the
same size.
The average number of iterations is rather small, due to the fact that
the
-step also consists of performing some steps of the
-algorithm without shift. This creates an extra convergence
behavior, which is efficiently exploited in the routine.
Raphael Vandebril 2007-07-17