next up previous
Next: Accuracy comparison Up: Numerical tests Previous: Numerical tests

Speed comparison

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 $ O(n)$ flops and the cost of one QR step applied to the semiseparable also costs $ O(n)$ 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 $ QR$ algorithms
\includegraphics[scale=0.7]{speed}



Raf Vandebril 2004-04-19