<< Chapter < Page Chapter >> Page >
FFTs of prime length can be computed efficiently via Rader's conversion, via the chirp z-transform, or by use of Winograd methods.

The power-of-two FFT algorithms , such as the radix-2 and radix-4 FFTs, and the common-factor and prime-factor FFTs, achieve great reductions in computational complexity of the DFT when the length, N , is a composite number.DFTs of prime length are sometimes needed, however, particularly for the short-length DFTs in common-factor or prime-factor algorithms.The methods described here, along with the composite-length algorithms, allow fast computation of DFTs of any length.

There are two main ways of performing DFTs of prime length:

  • Rader's conversion, which is most efficient, and the
  • Chirp-z transform , which is simpler and more general.
Oddly enough, both work by turning prime-length DFTs into convolution! The resulting convolutions can then be computed efficiently by either
  • fast convolution via composite-length FFTs (simpler) or by
  • Winograd techniques (more efficient)

Rader's conversion

Rader's conversion is a one-dimensional index-mapping scheme that turns a length- N DFT ( N prime) into a length-( N 1 ) convolution and a few additions. Rader's conversion works only for prime-length N .

An index map simply rearranges the order of the sum operation in the DFT definition . Because addition is a commutative operation, the same mathematical result is producedfrom any order, as long as all of the same terms are added once and only once. (This is the condition that defines an index map.)Unlike the multi-dimensional index maps used in deriving common factor and prime-factor FFTs , Rader's conversion uses a one-dimensional index map in a finite group of N integers: k r m N

Fact from number theory

If N is prime, there exists an integer " r " called a primitive root , such that the index map k r m N , m

    0 1 2 N 2
, uniquely generates all elements k
    1 2 3 N 1

N 5 , r 2 2 0 5 1 2 1 5 2 2 2 5 4 2 3 5 3

Got questions? Get instant answers now!

Another fact from number theory

For N prime, the inverse of r (i.e. r r N 1 is also a primitive root (call it r ).

N 5 , r 2 r 3 2 3 5 1 3 0 5 1 3 1 5 3 3 2 5 4 3 3 5 2

Got questions? Get instant answers now!

So why do we care? Because we can use these facts to turn a DFT into a convolution!

Rader's conversion

Let m n m

    0 1 N 2
n
    1 2 N 1
n r m N , p k p
    0 1 N 2
k
    1 2 N 1
k r p N X k n N 1 0 x n W N n k x 0 n N 1 1 x n W N n k k 0 n N 1 0 x n k 0 where for convenience W N n k 2 n k N in the DFT equation. For k 0
X r p N m N 2 0 x r m N W r p r - m x 0 m N 2 0 x r m N W r p - m x 0 x 0 x r l N W r l
where l
    0 1 N 2

N 5 , r 2 , r 3 X 0 X 1 X 2 X 3 X 4 0 0 0 0 0 0 1 2 3 4 0 2 4 1 3 0 3 1 4 2 0 4 3 2 1 x 0 x 1 x 2 x 3 x 4 X 0 X 1 X 2 X 4 X 3 0 0 0 0 0 0 1 3 4 2 0 2 1 3 4 0 4 2 1 1 0 3 4 2 3 x 0 x 1 x 3 x 4 x 2 where for visibility the matrix entries represent only the power , m of the corresponding DFT term W N m Note that the 4-by-4 circulant matrix 1 3 4 2 2 1 3 4 4 2 1 1 3 4 2 3 corresponds to a length-4 circular convolution.

Got questions? Get instant answers now!

Rader's conversion turns a prime-length DFT into a few adds and a composite-length ( N 1 ) circular convolution, which can be computed efficiently using either

  • fast convolution via FFT and IFFT
  • index-mapped convolution algorithms and short Winograd convolution alogrithms. (Rather complicated, and trades fewer multipliesfor many more adds, which may not be worthwile on most modern processors.) See R.C. Agarwal and J.W. Cooley

Winograd minimum-multiply convolution and dft algorithms

S. Winograd has proved that a length- N circular or linear convolution or DFT requires less than 2 N multiplies (for real data), or 4 N real multiplies for complex data. (This doesn't count multiplies by rational fractions, like 3 or 1 N or 5 17 , which can be computed with additions and one overall scaling factor.) Furthermore, Winograd showed how toconstruct algorithms achieving these counts. Winograd prime-length DFTs and convolutions have the followingcharacteristics:

  • Extremely efficient for small N ( N 20 )
  • The number of adds becomes huge for large N .
Thus Winograd's minimum-multiply FFT's are useful only for small N . They are very important for Prime-Factor Algorithms , which generally use Winograd modules to implement the short-length DFTs. Tables giving themultiplies and adds necessary to compute Winograd FFTs for various lengths can be found in C.S. Burrus (1988) . Tables and FORTRAN and TMS32010 programs for these short-length transforms canbe found in C.S. Burrus and T.W. Parks (1985) . The theory and derivation of these algorithms is quite elegant but requires substantialbackground in number theory and abstract algebra. Fortunately for the practitioner, all of the shortalgorithms one is likely to need have already been derived and can simply be looked up without mastering thedetails of their derivation.

Winograd fourier transform algorithm (wfta)

The Winograd Fourier Transform Algorithm (WFTA) is a technique that recombines the short Winograd modules in a prime-factor FFT into a composite- N structure with fewer multiplies but more adds. While theoretically interesting,WFTAs are complicated and different for every length, and on modern processors with hardware multipliers the trade of multiplies for manymore adds is very rarely useful in practice today.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing: a user's guide. OpenStax CNX. Aug 29, 2006 Download for free at http://cnx.org/content/col10372/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing: a user's guide' conversation and receive update notifications?

Ask