Encyclopedia > Rader's FFT algorithm

  Article Content

Rader's FFT algorithm

Rader's algorithm is a Fast Fourier Transform (FFT) algorithm that computes the discrete Fourier transform (DFT) of prime sizes by re-expressing the DFT as a cyclic convolution. (The other algorithm for FFTs of prime sizes, Bluestein's algorithm, also works by rewriting the DFT as a convolution.)

Recall that the DFT is defined by the formula

<math> f_j = \sum_{k=0}^{n-1} x_k e^{-\frac{2\pi i}{n} jk }
\qquad j = 0,\dots,n-1. </math>

If n is a prime number, then the set of non-zero indices k = 1,...,n-1 forms a group under multiplication modulo n. One consequence of this is that there exists a generator of the group, an integer g such that k = gq (mod n) for any non-zero k and for some q in 0,...,n-2. Similarly j = g-p (mod n) for any non-zero j and for some p in 0,...,n-2, where the negative exponent denotes the multiplicative inverse of gp modulo n. That means that we can rewrite the DFT using these new indices p and q as:

<math> f_0 = \sum_{k=0}^{n-1} x_k,</math>

<math> f_{g^{-p}} = x_0 + \sum_{q=0}^{n-2} x_{g^q} e^{-\frac{2\pi i}{n} g^{-(p-q)} }
\qquad p = 0,\dots,n-2. </math>

(Recall that xk and fj are implicitly periodic in n, and also that e2πi=1. Thus, all indices and exponents are taken modulo n as required by the group arithmetic.)

The final summation, above, is precisely a cyclic convolution of the two sequences aq and bq of length n-1 (q = 0,...,n-2) defined by:

<math>a_q = x_{g^q}</math>
<math>b_q = e^{-\frac{2\pi i}{n} g^{-q} }.</math>

Since n-1 is composite, this convolution can be performed directly via the convolution theorem and more conventional FFT algorithms. However, that may not be efficient if n-1 itself has large prime factors, requiring recursive use of Rader's algorithm. Instead, one can compute a cyclic convolution exactly by zero-padding it into a linear convolution of at least twice the length, say to a power of two, which can then be evaluated in O(n log n) time without the recursive application of Rader's algorithm.

This algorithm, then, requires O(n) additions plus O(n log n) time for the convolution. In practice, the O(n) additions can often be performed by absorbing the additions into the convolution: if the convolution is performed by a pair of FFTs, then the sum of xk is given by the DC (0th) output of the FFT of aq, and x0 can be added to all the outputs by adding it to the DC term of the convolution prior to to the inverse FFT. Still, this algorithm requires intrinsically more operations than FFTs of nearby composite sizes, and typically takes 3-10 times as long in practice.

If Rader's algorithm is performed by using FFTs of size n-1 to compute the convolution, rather than by zero padding as mentioned above, the efficiency depends strongly upon n and the number of times that Rader's algorithm must be applied recursively. The worst case would be if n-1 were 2n2 where n2 is prime, with n2-1 = 2n3 where n3 is prime, and so on. In such cases, supposing that the chain of primes extended all the way down to some bounded value, the application of Rader's algorithm would actually require O(n2) time. Such nj are called Sophie Germain primes, and the sequence of them is called a Cunningham chain[?]. The lengths of Cunningham chains, however, are observed to grow more slowly than log2(n), so Rader's algorithm applied in this way is probably not O(n2), though it is likely worse than O(n log n) for the worst cases. Fortunately, a guarantee of O(n log n) complexity can be achieved by using zero padding.


References:
  • C. M. Rader, "Discrete Fourier transforms when the number of data samples is prime," Proc. IEEE 56, 1107-1108 (1968).



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
List of closed London Underground stations

... King William Street tube station[?] Lord's tube station[?] Mark Lane tube station[?] Marlborough Road tube station[?] North End tube station[?] (aka Bull & ...

 
 
 
This page was created in 74.4 ms