Similarly as in the previous examples we generated a
matrix and plotted the singular values of
for each eigenvalue computed by MATLAB and each
eigenvalue computed by the new method.
The x-axis denotes the problem sizes whereas the y-axis
denotes the relative accuracy measure based on the smallest singular
value, as described in the first experiment (see Figure
).
The following three figures (Figures
These figures show respectively the results of the single, double and
triple shift strategy. These results (Figures
) are
followed by the average number of steps of the
-method before
deflation of an eigenvalue can be applied in case of the single(left)
double(middle) and triple(right) shift strategy.
Finally (Figures
) we plotted the total cputime (in seconds), divided by
. As the
concerned method is cubic in
, this value should converge to a constant.
These last figures suggest that the multishift with
yields the
best result. The accuracy is comparable, but the average number of
iterations and the cputime show that the multishift
converges
the fastest.
Raphael Vandebril 2007-07-17