Next: Stewart's devil's stairs
Up: Numerical Experiments
Previous: The experiments
This experiment is taken from [23, pag. 153].
Suppose we have a symmetric matrix
of
dimension
and we construct the following matrices
uxing
, where
denotes the number of blocks, and
are the small subdiagonal elements, between the blocks. For example:
We get the following results: For
we compare for the
semiseparable and the tridiagonal approach the maximum number of
iterations for any eigenvalue to converge. This is done for a varying
size of
,
has eigenvalues
. Both of the algorithms
use the same normal deflation criterion.
 |
 |
 |
 |
 |
 |
 |
 |
| semiseparable QR |
3 |
3 |
2 |
2 |
2 |
3 |
3 |
| tridiagonal QR |
4 |
4 |
4 |
4 |
4 |
4 |
3 |
For
:
 |
 |
 |
 |
 |
 |
|
| semiseparable QR |
4 |
4 |
4 |
3 |
3 |
|
| tridiagonal QR |
4 |
5 |
5 |
4 |
4 |
|
 |
 |
 |
 |
 |
|
|
| semiseparable QR |
3 |
2 |
2 |
2 |
|
|
| tridiagonal QR |
3 |
4 |
2 |
3 |
|
|
For
 |
 |
 |
 |
 |
 |
 |
 |
|
| semiseparable QR |
4 |
5 |
4 |
4 |
4 |
4 |
4 |
|
| tridiagonal QR |
4 |
5 |
4 |
5 |
5 |
4 |
4 |
|
 |
 |
 |
 |
 |
 |
 |
 |
|
| semiseparable QR |
3 |
1 |
1 |
1 |
3 |
3 |
|
|
| tridiagonal QR |
4 |
5 |
4 |
4 |
4 |
5 |
|
|
It can be seen clearly that the tridiagonal approach has
more difficulties in finding particular eigenvalues. Figure
5 gives a comparison in the complete number of
steps
for the last experiment (
).
Figure 5:
Total number of steps compared to several values of
.
|
|
The figure shows clearly that the semiseparable approach needs less
iterations than the traditional approach. The matrices involved are
of size
. It can be seen that for
in the neighbourhood
of
the number of
steps with the semiseparable approach
are even less than
. This can also be seen in the table for
.
Next: Stewart's devil's stairs
Up: Numerical Experiments
Previous: The experiments
Raf Vandebril
2004-04-19