In the following set of experiments we compute a relative
error involving the eigenvalues and eigenvectors. We solve in fact the
first problem involving the quasiseparable matrix
of the two
equivalent problems:
We compute hence the eigenvalues
corresponding to the
eigenvectors
. To obtain the eigenvectors
of the
generalized eigenvalue problem, we need to compute the following:
As we know from the theoretical results, the matrix
is an
upper triangular semiseparable matrix. Moreover the representation in
terms of Givens transformations and a vector is known. The
multiplication between the matrix
can easily be
performed in
operations (see e.g.[28]).
For the following set of experiments we took matrix sizes ranging from
to
and
experiments for each size were considered. The
tridiagonal matrix
has random diagonal and subdiagonal
elements. The matrix
has random subdiagonal elements and the
diagonal elements were taken
, in
order to make the matrix positive definite and well conditioned.
We considered the following relative backward error:
where the eigenvectors
and the eigenvalues
and eigenvectors
were computed using the
presented method.
Figure 3:
Accuracy of the eigenvalues/eigenvectors
|
|
Raphael Vandebril
2007-07-17