<< Chapter < Page | Chapter >> Page > |
Here we use three methods to facilitate the construction of prime length FFT modules. First, the matrix exchange property [link] , [link] , [link] is used so that the transpose of the reduction operator can be used rather than the morecomplicated CRT reconstruction operator. This is then combined with the numerical method [link] for obtaining the multiplication coefficients rather than the direct use of the CRT. We also deviate from the Toom-Cook algorithm,because it requires too many additions for the lengths in which we are interested. Instead we use an iterated polynomial multiplication algorithm [link] . We have incorporated these three ideas into a single structural procedure that automatesthe design of prime length FFTs.
It is important that each step in the Winograd FFT can be described using matrices. By expressing cyclic convolution as a bilinear form, a compact form of prime length DFTs can be obtained.
If is the cyclic convolution of and , then can be expressed as
where, using the Matlab convention, represents point by point multiplication. When , , and are allowed to be complex, and are seen to be the DFT operator and , the inverse DFT. When only real numbers are allowed, , , and will be rectangular. This form of convolution is presented with many examples in [link] . Using the matrix exchange property explained in [link] and [link] this form can be written as
where is the permutation matrix that reverses order.
When is fixed, as it is when considering prime length DFTs, the term can be precomputed and a diagonal matrix formed by . This is advantageous because in general, is more complicated than , so the ability to “hide" saves computation. Now or since and can be the same; they implement a polynomial reduction. The form can also be used for the prime length DFTs, it is only necessary to permute the entries of x and to ensure that theDC term is computed correctly. The computation of the DC term is simple, for the residue of a polynomial modulo is always the sum of the coefficients. After adding the term of the original input sequence, to the residue, the DC term is obtained. Now . In [link] Johnson observes that by permuting the elements on the diagonal of , the output can be permuted, so that the matrix can be hidden in , and . From the knowledge of this form, once is found, can be found numerically [link] .
Because each of the above steps can be described by matrices, the development of a prime length FFTs is made convenient with the use of a matrix oriented programminglanguage such as Matlab. After specifying the appropriate matrices that describe the desired FFT algorithm, generating code involves compiling the matrices into the desiredcode for execution.
Each matrix is a section of one stage of the flow graph that corresponds to the DFT program. The four stages are:
Notification Switch
Would you like to follow the 'Fast fourier transforms' conversation and receive update notifications?