Numerical tests are performed comparing the behavior of the
traditional approach via bidiagonal and the proposed semiseparable
approach for computing the singular values of several matrices.
Special attention is paid to the accuracy of both algorithms for
different sets of the singular values and to the number of
-steps
needed to compute all the singular values of the matrices. The first
figure shows a comparison of the number of implicit
-iterations
performed (the line connects the average number of
iterations for each experiment). It shows that the semiseparable approach needs less steps
in order to find the singular values but do not forget that a
semiseparable implicit
-step costs a little more than a
corresponding step on the bidiagonal.
Figure 9.5 and Figure 9.6 show comparisons in accuracy
of the two approaches (A line is drawn connecting the average error
for different experiments. The error is the maximum
relative error between the computed and the exact singular values).
In Figure 9.5 the singular values were chosen
equally spaced, in Figure 9.6 the singular values ranged from
to
. Both figures show that the two approaches are equally accurate.