<< Chapter < Page Chapter >> Page >
A change of index variable or an index mapping is used to uncouple the calculations of the discrete Fourier transform (DFT). This can result is a significant reduction in the required arithmetic and the resulting algorithm is called the fast Fourier transform (FFT).

A powerful approach to the development of efficient algorithms is to break a large problem into multiple small ones.One method for doing this with both the DFT and convolution uses a linear change of index variables to map the original one-dimensional problem into a multi-dimensional problem. Thisapproach provides a unified derivation of the Cooley-Tukey FFT, the prime factor algorithm (PFA) FFT, and the Winograd Fourier transformalgorithm (WFTA) FFT. It can also be applied directly to convolution to break it down into multiple short convolutions that can be executedfaster than a direct implementation. It is often easy to translate an algorithm using index mapping into an efficient program.

The basic definition of the discrete Fourier transform (DFT) is

C ( k ) = n = 0 N - 1 x ( n ) W N n k

where n , k , and N are integers, j = - 1 , the basis functions are the N roots of unity,

W N = e - j 2 π / N

and k = 0 , 1 , 2 , , N - 1 .

If the N values of the transform are calculated from the N values of the data, x ( n ) , it is easily seen that N 2 complex multiplications and approximately that same number of complex additions are required. Onemethod for reducing this required arithmetic is to use an index mapping (a change of variables) to change the one-dimensional DFTinto a two- or higher dimensional DFT. This is one of the ideas behind the very efficient Cooley-Tukey [link] and Winograd [link] algorithms. The purpose of index mapping is to change a large problem into several easier ones [link] , [link] . This is sometimes called the “divide and conquer" approach [link] but a more accurate description would be “organize and share" which explains the process of redundancy removal or reduction.

The index map

For a length-N sequence, the time index takes on the values

n = 0 , 1 , 2 , . . . , N - 1

When the length of the DFT is not prime, N can be factored as N = N 1 N 2 and two new independent variables can be defined over the ranges

n 1 = 0 , 1 , 2 , . . . , N 1 - 1
n 2 = 0 , 1 , 2 , . . . , N 2 - 1

A linear change of variables is defined which maps n 1 and n 2 to n and is expressed by

n = ( ( K 1 n 1 + K 2 n 2 ) ) N

where K i are integers and the notation ( ( x ) ) N denotes the integer residue of x modulo N [link] . This map defines a relation between all possible combinations of n 1 and n 2 in [link] and [link] and the values for n in [link] . The question as to whether all of the n in [link] are represented, i.e., whether the map is one-to-one (unique), has beenanswered in [link] showing that certain integer K i always exist such that the map in [link] is one-to-one. Two cases must be considered.

Case 1.

N 1 and N 2 are relatively prime, i.e., the greatest common divisor ( N 1 , N 2 ) = 1 .

The integer map of [link] is one-to-one if and only if:

( K 1 = a N 2 ) and/or ( K 2 = b N 1 ) and ( K 1 , N 1 ) = ( K 2 , N 2 ) = 1

where a and b are integers.

Case 2.

N 1 and N 2 are not relatively prime, i.e., ( N 1 , N 2 ) > 1 .

The integer map of [link] is one-to-one if and only if:

( K 1 = a N 2 ) and ( K 2 b N 1 ) and ( a , N 1 ) = ( K 2 , N 2 ) = 1

or

( K 1 a N 2 ) and ( K 2 = b N 1 ) and ( K 1 , N 1 ) = ( b , N 2 ) = 1

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Fast fourier transforms. OpenStax CNX. Nov 18, 2012 Download for free at http://cnx.org/content/col10550/1.22
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fast fourier transforms' conversation and receive update notifications?

Ask