Next: Accuracy comparison
Up: Numerical tests
Previous: Numerical tests
Here the speed of the two algorithms will be compared. Some random
tridiagonal and semiseparable matrices will be generated. And then
their number of iterations needed for convergence will be compared.
Before we start with the comparison, we give a comparison in costs per
step, a step of the QR algorithm applied to the tridiagonal costs
flops and the cost of one QR step applied to the semiseparable
also costs
flops, however, the constant differs a bit adn the
QR step applied to the semiseparable matrix, almost costs twice as
much as a QR step applied to the tridiagonal.
Figure 3:
A speed comparison between the two
algorithms
|
|
Raf Vandebril
2004-04-19