next up previous contents index
Next: The eigenvectors of an Up: Computing the eigenvectors Previous: Computing all the eigenvectors   Contents   Index


Selected eigenvectors

Suppose not all the eigenvectors, but just a few of them are desired. Performing or storing all the transformations as described above is too expensive. We can compute these eigenvectors via inverse iteration.

Suppose we have already a good approximation of the eigenvalues. With inverse iteration applied to the semiseparable matrix and these approximations, the eigenvectors can be computed efficiently.

In fact, if one wants to calculate the eigenvector corresponding to the eigenvalue $ \lambda_i$, the following system of equations needs to be solved several times:

$\displaystyle (S-\tilde{\lambda} I) x = b,$    

with $ \tilde{\lambda}$ close to the eigenvalue $ \lambda_i$. The problem above corresponds to solving a system with a semiseparable plus diagonal matrix. This can be achieved in order $ O(n)$ with the algorithm presented in Part I, Chapter 1, Section 7.

We can solve the system mentioned above now in a stable and accurate way, and therefore we are able to calculate the eigenvectors of the semiseparable matrix via inverse iteration. In the numerical tests the following algorithm from [162] is used.

While
(true)
Solve the system $ (S-\kappa I)y=x$ ;
$ \hat{x}=y/\Vert y\Vert _2$;
$ w=x/\Vert y\Vert _2 $;
$ \rho = \hat{x}^T w$; (Rayleigh quotient)
$ \mu = \kappa + \rho$;
$ \kappa = \mu$;
$ r = w-\rho\hat{x}$;
$ x=\hat{x}$;
if$ (\Vert r\Vert _2/\Vert A\Vert _F \leq \epsilon)$ leave while;
end

Starting with a random vector $ x$ and the shift $ \kappa $ equal to an approximation of an eigenvalue coming from the implicit $ QR$-algorithm, the eigenvectors can be calculated in a fast and accurate way.


next up previous contents index
Next: The eigenvectors of an Up: Computing the eigenvectors Previous: Computing all the eigenvectors   Contents   Index
Raf Vandebril 2004-05-03