To test the accuracy of the semiseparable solver, experiments were performed for
different sizes of matrices, and also for different semiseparability ranks. The
sizes are
and the different ranks were
equal to
. We generated a solution vector
and calculated
then the right-hand side
. For every problem we calculated two
different things. When we denote with
the computed
solution, we computed the relative residual
and we calculated also the relative error
. The observations are shown in Figure 3.
To test the accuracy of the band solver we performed similar experiments as for the semiseparable solver. Instead of changing the semiseparability rank, we changed now the bandwidht. The results are shown in Figure 4.
Also tests were performed to check the accuracy of the solver for
higher order semiseparable plus band matrices. We performed
experiments for
thereby varying for every
the
bandwidth of the examples
. For every every choice of
and
experiments were performed of different sizes
. The results are depicted in Figure 5.
In the last experiment, we tested some matrices with a principal leading
submatrix which is almost singular. We generated a test matrix of
dimension 20. The matrix
is the sum of a higher order generator representable
semiseparable matrix of semiseparability rank 2 and a bandmatrix of
bandwidth 2. We changed the upper left
block of the
matrix, by subtracting a diagonal from it. This diagonal was chosen to
be very
close to the smallest eigenvalue of this leading
matrix. We varied this diagonal to obtain different condition numbers for the
upper left block. In the following table the results of this
experiment are shown. From left to right we see the condition number
of the complete matrix, the condition number of the leading
matrix, the relative error and finally the relative residual. The
relative error and the relative residual are computed similarly as in
the other experiments.
| cond(A) | cond(A(1:10,1:10)) | Relative Error | Relative Residual |
| 9.8826702011e+02 | 7.2137658055e+06 | 7.9371451652e-12 | 1.5876136765e-13 |
| 9.8834568681e+02 | 7.2137666893e+07 | 1.2899057031e-11 | 8.1869391232e-13 |
| 9.8835355416e+02 | 7.2137668126e+08 | 1.3731988886e-09 | 1.6178975264e-11 |
| 9.8835434090e+02 | 7.2137678326e+09 | 1.7523244367e-08 | 1.9521650543e-10 |
| 9.8835441958e+02 | 7.2137522541e+10 | 4.9245637551e-08 | 7.5282322736e-10 |
| 9.8835442745e+02 | 7.2134203263e+11 | 1.0598060169e-06 | 1.5041387982e-08 |
| 9.8835442823e+02 | 7.2125761709e+12 | 8.4718778442e-06 | 1.4160532102e-07 |
| 9.8835442831e+02 | 7.1769836736e+13 | 1.0353474474e-04 | 1.3557724944e-06 |
| 9.8835442832e+02 | 7.0936256361e+14 | 7.6248083160e-04 | 1.4000530881e-05 |
| 9.8835442832e+02 | 5.4957030404e+15 | 9.4706661128e-03 | 1.1029369701e-04 |
Raf Vandebril 2005-04-26