22.10.2014 Views

THESE de DOCTORAT - cerfacs

THESE de DOCTORAT - cerfacs

THESE de DOCTORAT - cerfacs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.3 Solving the system Ax = b 51<br />

v n = a n −<br />

n<br />

∑<br />

j=1<br />

(q ∗ j a n)q j → q n = v n<br />

‖v n ‖<br />

(3.29)<br />

This procedure of obtention of q n orthonormal matrices is known as the Gram-Schmidt Orthogonalization.<br />

This algorithm is useful to un<strong>de</strong>rstand the basic procedure of orthogonalization.<br />

Moreover, in addition to the matrix Q, the upper triangular matrix R is obtained straightforward<br />

by doing<br />

r ij = q ∗ i a j for every i ̸= j and r ii = ‖v i ‖ (3.30)<br />

In practice, the Gram-Schmidt formula are not applied since it has been <strong>de</strong>monstrated that this<br />

algorithm turns out to be unstable. The Modified Gram-Schmidt algorithm computes the same<br />

result but with a more stable algorithm as follows.<br />

v (1)<br />

j<br />

= a j (3.31)<br />

v (2)<br />

j<br />

= v (1)<br />

j<br />

− q 1 q1 ∗ v(1) j<br />

(3.32)<br />

v (3)<br />

j<br />

= v (2)<br />

j<br />

− q 2 q ∗ 2v (2)<br />

j<br />

(3.33)<br />

v (j)<br />

j<br />

. (3.34)<br />

= v (j−1)<br />

j<br />

− q j−1 q ∗ j−1 v(j−1) j<br />

(3.35)<br />

recalling that ∑ n j=1 (q∗ j v)q j = ∑ n j=1 (q jq ∗ j<br />

)v. This algorithm should be read as:<br />

v (1)<br />

1<br />

→ v (1)<br />

2 , v(2) 2<br />

→ · · · → v (1)<br />

i<br />

, v (2)<br />

i<br />

, · · · , v (i)<br />

i<br />

→ · · · (3.36)<br />

It has been explained how to perform a QR factorization with an efficient algorithm. However,<br />

as stated before, the QR factorization is not the best strategy to <strong>de</strong>compose a matrix such as<br />

̂D (Eq. 3.18). A better method is to factorize by ̂Q m+1 and ˜H. The procedure performed to<br />

this purpose is similar to the Modified Gram-Schmidt orthogonalization and is known as the<br />

Arnoldi Algorithm [2].<br />

A ̂Q m = ̂Q m+1 ˜H m (3.37)<br />

The 1st to mth column of this equation can be written as follows:

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

Saved successfully!

Ooh no, something went wrong!