Real symmetric matrices

The problems are generated by taking the lower triangular part as being equal to the lower triangular part of a rank $ 1$ matrix $ \mathbf{u}\mathbf{v}^T$. The elements of these vectors $ \mathbf{u}$ and $ \mathbf{v}$ are randomly choses via the randn() function in MATLAB. Based on these vectors the Givens-vector representation of the lower triangular part is constructed.

To compare the accuracy of the proposed method with MATLAB's EIG method we computed for each eigenvalue the smallest singular value of $ A-\lambda_i I$. This smallest singular value is of course a measure of the singularity and hence of the accuracy of $ \lambda_i$. These values are computed for all eigenvalues computed by MATLAB and for all eigenvalues computed by the new routine (see Figure [*]). The plotted results are depicted for a single shift strategy.

The figure shows that both approaches are equally accurate. Moreover the proposed method is more accurate than the results presented in [28]. Deflation was allowed, when the relative subdiagonal elements were smaller than $ 10^{(-10)}$.

Figure: Accuracy of computed eigenvalues.
% latex2html id marker 11368
\includegraphics[width=0.450\textwidth]{rssacc}

In the following three figures we compare the results of the multishift $ QR$-algorithm for the single shift and the double shift strategy. The sizes range from $ 100$ to $ 1000$ via steps of size $ 100$. Every experiment was repeated $ 5$ times. The relative error, between MATLAB and the proposed method is plotted. Denote with $ \tilde{\mbox{\boldmath {$\lambda$}}}$ the eigenvalues computed via MATLAB and with $ \hat{\mbox{\boldmath {$\lambda$}}}$ the eigenvalues computed via the new technique, in the following figures the value $ \Vert\tilde{\mbox{\boldmath {$\lambda$}}}-\hat{\mbox{\boldmath {$\lambda$}}}\Vert/\Vert\tilde{\mbox{\boldmath {$\lambda$}}}\Vert$ is depicted. The average for the five experiments is connected via a line. The $ y$-axis depicts the relative accuracy, whereas the $ x$-axis depicts the size of the experiment.

Figure: Comparison of different shifts.
% latex2html id marker 11392
\includegraphics[width=0.450\textwidth]{rsk} % latex2html id marker 11393
\includegraphics[width=0.450\textwidth]{rskk}

The figures below denote for the same set of experiments the average number of $ QR$-steps before deflation occurred. The average is computed by dividing the total number of performed $ QR$-steps by the matrix size.

Figure: Number of $ QR$-steps.
% latex2html id marker 11401
\includegraphics[width=0.45\textwidth]{rsdefk} % latex2html id marker 11402
\includegraphics[width=0.45\textwidth]{rsdefkk}

Raphael Vandebril 2007-07-17