10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

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.

484 Chapter 9 FAST ALGORITHMS FOR LARGE-INTEGER ARITHMETIC<br />

where g, gH,gW are roots of unity of order WH,H,W, respectively, and the<br />

indices (K + NH)haveK ∈ [0,H− 1], N∈ [0,W − 1]. The last double sum<br />

here can be seen to involve the FFTs of rows and columns of a certain matrix,<br />

as evidenced in the explicit algorithm following:<br />

Algorithm 9.5.7 (Parallel, “four-step” FFT). Let x be a signal of length<br />

D = WH. For algorithmic efficiency we consider the input signal x to be a<br />

matrix T arranged in “columnwise order”; i.e., for j ∈ [0,W − 1] the j-th<br />

column of T contains the (originally contiguous) H elements (xjH+M ) H−1<br />

M=0 . Then,<br />

conveniently, each FFT operation of the overall algorithm occurs on some row of<br />

some matrix (the k-th row vector of a matrix U will be denoted by U (k) ). The<br />

final DFT resides likewise in columnwise order.<br />

1. [H in-place, length-W FFTs, each performed on a row of T ]<br />

for(0 ≤ M

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

Saved successfully!

Ooh no, something went wrong!