20.05.2014 Views

link to my thesis

link to my thesis

link to my thesis

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.5. A JACOBI–DAVIDSON METHOD FOR COMMUTING MATRICES 105<br />

input : A device <strong>to</strong> compute A pλ x and A xi x for arbitrary vec<strong>to</strong>rs x, where<br />

the action with A xi is (much) cheaper than the action with A pλ ;<br />

The starting vec<strong>to</strong>r v 1 ;<br />

The <strong>to</strong>lerance ε;<br />

The maximum number of iterations maxIter<br />

output: An approximate eigenpair (θ, u) ofA pλ<br />

1 t = v ;<br />

2 V 0 =[];<br />

3 for k ← 1 <strong>to</strong> maxIter do<br />

4 RGS(V k−1 ,t) → V k ;<br />

5 Compute kth columns of W k = A pλ V k ;<br />

6 Compute kth rows and columns of H k = Vk ∗A<br />

p λ<br />

V k = Vk ∗W<br />

k;<br />

7 Extract a Ritz pair (θ, c);<br />

8 v = V k c;<br />

9 r = W k c − θv;<br />

10 S<strong>to</strong>p if ||r|| ≤ ε;<br />

11 Compute η = v ∗ A xi v;<br />

12 Solve (approximately) t ⊥ v from:<br />

13 (I − vv ∗ )(A xi − ηI)(I − vv ∗ )t = −r<br />

14 end<br />

Algorithm 3: JDCOMM: A Jacobi–Davidson type method for commuting matrices<br />

Remark 6.3. The JDCOMM method requires ‘a device <strong>to</strong> compute A pλ x and A xi x for<br />

arbitrary vec<strong>to</strong>rs x’ as some of the input variables (see Algorithm 3). Both devices<br />

can be implemented with an nD-system as presented in Chapter 5. This makes it<br />

possible <strong>to</strong> let the JDCOMM method operate in a matrix-free fashion <strong>to</strong>o.<br />

Section 7.5 of the next chapter describes four experiments in which the JDCOMM<br />

method is used <strong>to</strong> compute the global minima of some multivariate polynomials.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!