<< Chapter < Page | Chapter >> Page > |
Each of the stages can be clearly seen in the flow graphs for the DFTs. [link] shows the flow graph for a length 17 DFT algorithm that was automatically drawn by the program.
The programs that accomplish this process are written in Matlab and C. Those that compute the appropriate matrices are written in Matlab. These matrices are then stored as two ASCIIfiles, with the dimensions in one and the matrix elements in the second. A C program then readsthe flies and compiles them to produce the final FFT program in C [link]
The reduction of an degree polynomial, , modulo the cyclotomic polynomial factors of requires only additions for many N, however, the actual number of additions depends upon the way in which the reduction proceeds. The reduction is most efficientlyperformed in steps. For example, if and , and where the double parenthesis denote polynomial reduction modulo , , and , then in the first step , and should be computed. In the second step, and can be found by reducing This process is described by the diagram in [link] .
When is even, the appropriate first factorization is , however, the next appropriate factorization is frequently less obvious. The following procedurehas been found to generate a factorization in steps that coincides with the factorization that minimizes the cumulative number of additions incurred by the steps.The prime factors of are the basis of this procedure and their importance is clear from the useful well-known equation where is the cyclotomic polynomial.
We first introduce the following two functions defined on the positive integers,
and .
Suppose is equal to either or an intermediate noncyclotomic polynomial appearing in the factorization process, for example, , above. Write in terms of its cyclotomic factors,
define the two sets, and , by
and define the two integers, and , by
Then form two new sets,
The factorization of ,
has been found useful in the procedure for factoring . This is best illustrated with an example.
Example:
Step 1. Let . Since
Hence the factorization of into two intermediate polynomials is as expected,
If a 36th degree polynomial, , is represented by a vector of coefficients, , then (represented by X') and (represented by X") is given by
which entails 36 additions.
Step 2. This procedure is repeated with and . We will just show it for the later. Let . Since
Notification Switch
Would you like to follow the 'Fast fourier transforms' conversation and receive update notifications?