11.08.2013 Views

Untitled - Cdm.unimo.it

Untitled - Cdm.unimo.it

Untitled - Cdm.unimo.it

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.

72 Polynomial Approximation of Differential Equations<br />

vector multiplications w<strong>it</strong>h (4.3.1). As we mentioned before, <strong>it</strong> is convenient to operate<br />

w<strong>it</strong>h complex numbers. Thus, let i denote the complex un<strong>it</strong>y, i.e., i 2 = −1. Then, we<br />

consider the transform<br />

(4.3.3) γm =<br />

n−1 <br />

j=0<br />

δj e 2imjπ/n , 0 ≤ m ≤ n − 1.<br />

Here γm, 0 ≤ m ≤ n − 1, and δj, 0 ≤ j ≤ n − 1, are complex variables, related by<br />

the standard complex FFT. We study later how to efficiently compute (4.3.3). We now<br />

establish a relation between (4.3.3) and (4.1.4) in the Chebyshev case. To this end,<br />

the papers of cooley, lewis and welsh(1970), and brachet et al.(1983) give useful<br />

indications. Assume that n is even. We first define the input data as follows:<br />

(4.3.4) δj<br />

⎧<br />

⎨p(ξ<br />

:=<br />

⎩<br />

(n)<br />

2j+1 ) n 0 ≤ j ≤ 2 − 1,<br />

≤ j ≤ n − 1.<br />

p(ξ (n)<br />

2n−2j )<br />

W<strong>it</strong>h this choice, we compute γm, 0 ≤ m ≤ n − 1. Finally, one verifies that<br />

(4.3.5) cm = (−1)m<br />

n<br />

·<br />

γ0<br />

n<br />

2<br />

if m = 0,<br />

γm e imπ/2n + γn−m e −imπ/2n if 1 ≤ m ≤ n − 1.<br />

Of course, this final computation has a cost only proportional to n. The procedure can<br />

be further improved by virtue of the analysis presented in swarztrauber(1986). Since<br />

the δj’s are real, one can spl<strong>it</strong> the data in a su<strong>it</strong>able way, to allow the computation of<br />

two complex FFTs of length n<br />

2<br />

instead of n. We skip the details for simplic<strong>it</strong>y.<br />

The inverse transform (see (4.1.6)) is clearly treated in a very similar way.<br />

The next problem is related to matrix-vector multiplications involving (4.3.2). We<br />

now define<br />

(4.3.6) δj :=<br />

⎧<br />

⎪⎨<br />

⎪⎩<br />

p(η (n)<br />

0 ) j=0,<br />

p(η (n)<br />

2j ) + i<br />

<br />

p(η (n)<br />

2j+1 ) − p(η(n) 2j−1 )<br />

<br />

1 ≤ j ≤ n<br />

2<br />

p(η (n)<br />

n ) j = n<br />

2 ,<br />

p(η (n)<br />

2n−2j ) + i<br />

<br />

p(η (n)<br />

2n−2j−1 ) − p(η(n) 2n−2j+1 )<br />

<br />

n<br />

2<br />

− 1,<br />

+ 1 ≤ j ≤ n − 1.

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

Saved successfully!

Ooh no, something went wrong!