Average Running Time of the Fast Fourier Transform

Abstract We compare several algorithms for computing the discrete Fourier transform of n numbers. The number of “operations” of the original Cooley-Tukey algorithm is approximately 2n A(n), where A(n) is the sum of the prime divisors of n. We show that the average number of operations satisfies 1 x )∑ n≤x 2n A(n) ∼ ( π 2 9 )( x 2 log x ) . The average is not a good indication of the number of operations. For example, it is shown that for about half of the integers n less than x, the number of “operations” is less than n1.61. A similar analysis is given for Good's algorithm and for two algorithms that compute the discrete Fourier transform in O(n log n) operations: the chirp-z transform and the mixed-radix algorithm that computes the transform of a series of prime length p in O(p log p) operations.

[1]  de Ng Dick Bruijn On the number of uncancelled elements in the sieve of Eratosthenes , 1950 .

[2]  Krishnaswami Alladi,et al.  On an additive arithmetic function. , 1977 .

[3]  D. Rose Matrix identities of the fast fourier transform , 1980 .

[4]  R. Bellman,et al.  On the Numerical Solution of a Differential-Difference Equation Arising in Analytic Number Theory: , 1962 .

[5]  R. Singleton An algorithm for computing the mixed radix fast Fourier transform , 1969 .

[6]  Kenneth Steiglitz,et al.  Teminology in digital signal processing , 1972 .

[7]  R. D. James,et al.  Studies in Number Theory. , 1970 .

[8]  Donald E. Knuth,et al.  Analysis of a Simple Factorization Algorithm , 1976, Theor. Comput. Sci..

[9]  C. Rader Discrete Fourier transforms when the number of data samples is prime , 1968 .

[10]  K. Dickman On the frequency of numbers containing prime factors of a certain relative magnitude , 1930 .

[11]  G. D. Bergland,et al.  A guided tour of the fast Fourier transform , 1969, IEEE Spectrum.

[12]  E. Wattel,et al.  On the numerical solution of a differential-difference equation arising in analytic number theory , 1969 .

[13]  Patrick Billingsley,et al.  On the distribution of large prime divisors , 1972 .

[14]  Alfred V. Aho,et al.  The Design and Analysis of Computer Algorithms , 1974 .

[15]  L. Rabiner,et al.  The chirp z-transform algorithm and its application , 1969 .

[16]  Alfred V. Aho,et al.  Evaluating Polynomials at Fixed Sets of Points , 1975, SIAM J. Comput..