Misplaced Pages

Fast Fourier transform: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 13:55, 29 December 2014 edit37.75.15.130 (talk)No edit summary← Previous edit Latest revision as of 22:34, 20 December 2024 edit undoRafaelTLS (talk | contribs)Extended confirmed users3,624 edits Further reading 
(576 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{Short description|O(N log N) discrete Fourier transform algorithm}}
{{redirect|FFT}} {{redirect|FFT}}
{{lead rewrite|date=May 2013}} {{Use American English|date=March 2019}}
]
]
]
A '''fast Fourier transform''' ('''FFT''') is an ] to compute the ] (DFT) and its inverse. ] converts time (or space) to frequency(or period) and vice versa; an FFT rapidly computes such transformations by ] the ] into a product of ] (mostly zero) factors.<ref>Charles Van Loan, ''Computational Frameworks for the Fast Fourier Transform'' (SIAM, 1992).</ref> As a result, fast Fourier transforms are widely used for ] in engineering, science, and mathematics. The basic ideas were popularized in 1965, but some FFTs had been previously known as early as 1805. In 1994 ] described the Fast Fourier transform as "the most important ] of our lifetime".<ref>{{cite journal|last=Strang|first=Gilbert|title=Wavelets|journal=American Scientist|date=May–June 1994|volume=82|issue=3|page=253|url=http://www.jstor.org/stable/29775194|accessdate=8 October 2013}}</ref>


A '''fast Fourier transform''' ('''FFT''') is an ] that computes the ] (DFT) of a sequence, or its inverse (IDFT). A ] converts a signal from its original domain (often time or space) to a representation in the ] and vice versa. The DFT is obtained by decomposing a ] of values into components of different frequencies.<ref name="Heideman_Johnson_Burrus_1984"/> This operation is useful in many fields, but computing it directly from the definition is often too slow to be practical. An FFT rapidly computes such transformations by ] the ] into a product of ] (mostly zero) factors.<ref name="Loan_1992"/> As a result, it manages to reduce the ] of computing the DFT from <math display="inline">O(n^2)</math>, which arises if one simply applies the definition of DFT, to <math display="inline">O(n \log n)</math>, where {{mvar|n}} is the data size. The difference in speed can be enormous, especially for long data sets where {{mvar|n}} may be in the thousands or millions. In the presence of ], many FFT algorithms are much more accurate than evaluating the DFT definition directly or indirectly. There are many different FFT algorithms based on a wide range of published theories, from simple ] to ] and ].
==Overview==
There are many different FFT algorithms involving a wide range of mathematics, from simple ] to ] and ]; this article gives an overview of the available techniques and some of their general properties, while the specific algorithms are described in subsidiary articles linked below.


]
The DFT is obtained by decomposing a ] of values into components of different frequencies. This operation is useful in many fields (see ] for properties and applications of the transform) but computing it directly from the definition is often too slow to be practical. An FFT is a way to compute the same result more quickly: computing the DFT of ''N'' points in the naive way, using the definition, takes ](''N''<sup>2</sup>) arithmetical operations, while a FFT can compute the same DFT in only O(''N'' log ''N'') operations. The difference in speed can be enormous, especially for long data sets where ''N'' may be in the thousands or millions. In practice, the computation time can be reduced by several ] in such cases, and the improvement is roughly ] ''N'' / log(''N''). This huge improvement made the calculation of the DFT practical; FFTs are of great importance to a wide variety of applications, from ] and solving ]s to algorithms for quick ].


Fast Fourier transforms are widely used for ] in engineering, music, science, and mathematics. The basic ideas were popularized in 1965, but some algorithms had been derived as early as 1805.<ref name="Heideman_Johnson_Burrus_1984"/> In 1994, ] described the FFT as "the most important ] of our lifetime",<ref name="Strang_1994"/><ref name="Kent_2002"/> and it was included in Top 10 Algorithms of 20th Century by the ] magazine ''Computing in Science & Engineering''.<ref name="Dongarra_Sullivan_2000"/>
The best-known FFT algorithms depend upon the ] of ''N'', but there are FFTs with O(''N''&nbsp;log&nbsp;''N'') ] for all ''N'', even for ] ''N''. Many FFT algorithms only depend on the fact that <math>e^{-{2\pi i \over N}}</math> is an ''N''-th ], and thus can be applied to analogous transforms over any ], such as ]s. Since the inverse DFT is the same as the DFT, but with the opposite sign in the exponent and a 1/''N'' factor, any FFT algorithm can easily be adapted for it.


The best-known FFT algorithms depend upon the ] of {{mvar|n}}, but there are FFTs with <math>O(n \log n)</math> complexity for all, even ], {{mvar|n}}. Many FFT algorithms depend only on the fact that <math display="inline">e^{-2\pi i/n}</math> is an {{mvar|n}}'th ], and thus can be applied to analogous transforms over any ], such as ]s. Since the inverse DFT is the same as the DFT, but with the opposite sign in the exponent and a {{math|1/''n''}} factor, any FFT algorithm can easily be adapted for it.
==Definition and speed==
An FFT computes the ] and produces exactly the same result as evaluating the DFT definition directly; the most important difference is that an FFT is much faster. (In the presence of ], many FFT algorithms are also much more accurate than evaluating the DFT definition directly, as discussed below.)


==History==
Let ''x''<sub>0</sub>, ...., ''x''<sub>''N''-1</sub> be ]s. The DFT is defined by the formula
The development of fast algorithms for DFT can be traced to ]'s unpublished 1805 work on the orbits of asteroids ] and ]. Gauss wanted to interpolate the orbits from sample observations;<ref name="Gauss_1866"/><ref name="Heideman_Johnson_Burrus_1985"/> his method was very similar to the one that would be published in 1965 by ] and ], who are generally credited for the invention of the modern generic FFT algorithm. While Gauss's work predated even ]'s 1822 results, he did not analyze the method's ], and eventually used other methods to achieve the same end.


Between 1805 and 1965, some versions of FFT were published by other authors. ] in 1932 published his version called ''interaction algorithm'', which provided ].<ref name="Yates_1937"/> Yates' algorithm is still used in the field of statistical design and analysis of experiments. In 1942, ] and ] published their version to compute DFT for ], a field where calculation of Fourier transforms presented a formidable bottleneck.<ref name="Danielson_Lanczos_1942"/><ref name="Lanczos_1956"/> While many methods in the past had focused on reducing the constant factor for <math display="inline">O(n^2)</math> computation by taking advantage of "symmetries", Danielson and Lanczos realized that one could use the "periodicity" and apply a "doubling trick" to "double with only slightly more than double the labor", though like Gauss they did not do the analysis to discover that this led to <math display="inline">O(n \log n)</math> scaling.<ref name="Cooley_Lewis_Welch_1967"/>
:<math> X_k = \sum_{n=0}^{N-1} x_n e^{-{i 2\pi k \frac{n}{N}}}
\qquad
k = 0,\dots,N-1. </math>


James Cooley and John Tukey independently rediscovered these earlier algorithms<ref name="Heideman_Johnson_Burrus_1985"/> and published a ] in 1965 that is applicable when {{mvar|n}} is composite and not necessarily a power of 2, as well as analyzing the <math display="inline">O(n \log n)</math> scaling.<ref name="Cooley_Tukey_1965"/> Tukey came up with the idea during a meeting of ]'s Science Advisory Committee where a discussion topic involved detecting nuclear tests by the Soviet Union by setting up sensors to surround the country from outside. To analyze the output of these sensors, an FFT algorithm would be needed. In discussion with Tukey, ] recognized the general applicability of the algorithm not just to national security problems, but also to a wide range of problems including one of immediate interest to him, determining the periodicities of the spin orientations in a 3-D crystal of Helium-3.<ref name="Cooley_1987"/> Garwin gave Tukey's idea to Cooley (both worked at ]) for implementation.<ref name="Garwin_1969"/> Cooley and Tukey published the paper in a relatively short time of six months.<ref name="Rockmore_2000"/> As Tukey did not work at IBM, the patentability of the idea was doubted and the algorithm went into the public domain, which, through the computing revolution of the next decade, made FFT one of the indispensable algorithms in ].
Evaluating this definition directly requires O(''N''<sup>2</sup>) operations: there are ''N'' outputs ''X''<sub>''k''</sub>, and each output requires a sum of ''N'' terms. An FFT is any method to compute the same results in O(''N'' log ''N'') operations. More precisely, all known FFT algorithms require ](''N'' log ''N'') operations (technically, O only denotes an ]), although there is no known proof that a lower complexity score is impossible.(Johnson and Frigo, 2007)


==Definition==
To illustrate the savings of an FFT, consider the count of complex multiplications and additions. Evaluating the DFT's sums directly involves ''N''<sup>2</sup> complex multiplications and ''N''(''N''−1) complex additions . The well-known radix-2 ], for ''N'' a power of 2, can compute the same result with only (''N''/2)log<sub>2</sub>(''N'') complex multiplications (again, ignoring simplifications of multiplications by 1 and similar) and ''N''log<sub>2</sub>(''N'') complex additions. In practice, actual performance on modern computers is usually dominated by factors other than the speed of arithmetic operations and the analysis is a complicated subject (see, e.g., Frigo & Johnson, 2005), but the overall improvement from O(''N''<sup>2</sup>) to O(''N'' log ''N'') remains.
Let <math>x_0, \ldots, x_{n-1}</math> be ]s. The ] is defined by the formula

:<math> X_k = \sum_{m=0}^{n-1} x_m e^{-i2\pi k m/n} \qquad k = 0,\ldots,n-1, </math>

where <math>e^{i 2\pi/n}</math> is a ] {{mvar|n}}'th root of 1.

Evaluating this definition directly requires <math display="inline">O(n^2)</math> operations: there are {{mvar|n}} outputs {{mvar|X{{sub|k}}}}{{hairsp}}, and each output requires a sum of {{mvar|n}} terms. An FFT is any method to compute the same results in <math display="inline">O(n \log n)</math> operations. All known FFT algorithms require <math display="inline">O(n \log n)</math> operations, although there is no known proof that lower complexity is impossible.<ref name="Frigo_Johnson_2007"/>

To illustrate the savings of an FFT, consider the count of complex multiplications and additions for <math display="inline">n=4096</math> data points. Evaluating the DFT's sums directly involves <math display="inline">n^2</math> complex multiplications and <math display="inline">n(n-1)</math> complex additions, of which <math display="inline">O(n)</math> operations can be saved by eliminating trivial operations such as multiplications by 1, leaving about 30 million operations. In contrast, the radix-2 ], for {{mvar|n}} a power of 2, can compute the same result with only <math display="inline">(n/2)\log_2(n)</math> complex multiplications (again, ignoring simplifications of multiplications by 1 and similar) and <math display="inline">n\log_2(n)</math> complex additions, in total about 30,000 operations — a thousand times less than with direct evaluation. In practice, actual performance on modern computers is usually dominated by factors other than the speed of arithmetic operations and the analysis is a complicated subject (for example, see Frigo & ], 2005),<ref name="Frigo_Johnson_2005"/> but the overall improvement from <math display="inline">O(n^2)</math> to <math display="inline">O(n \log n)</math> remains.


==Algorithms== ==Algorithms==


===Cooley–Tukey algorithm=== ===Cooley–Tukey algorithm===
{{main|Cooley–Tukey FFT algorithm}} {{Main|Cooley–Tukey FFT algorithm}}


By far the most commonly used FFT is the ] algorithm. This is a ] that ] breaks down a DFT of any ] size ''N'' = ''N''<sub>1</sub>''N''<sub>2</sub> into many smaller DFTs of sizes ''N''<sub>1</sub> and ''N''<sub>2</sub>, along with O(''N'') multiplications by complex ] traditionally called ]s (after Gentleman and Sande, 1966). By far the most commonly used FFT is the Cooley–Tukey algorithm. This is a ] that ] breaks down a DFT of any ] size <math display="inline">n = n_1n_2</math> into <math display="inline">n_1</math> smaller DFTs of size <math display="inline">n_2</math>, along with <math>O(n)</math> multiplications by complex ] traditionally called ]s (after Gentleman and Sande, 1966).<ref name="Gentleman_Sande_1966"/>


This method (and the general idea of an FFT) was popularized by a publication of ] and ] in 1965,<ref name=mc465ct>* {{cite journal This method (and the general idea of an FFT) was popularized by a publication of Cooley and Tukey in 1965,<ref name="Cooley_Tukey_1965"/> but it was later discovered<ref name="Heideman_Johnson_Burrus_1984"/> that those two authors had together independently re-invented an algorithm known to ] around 1805<ref name="Gauss_1805"/> (and subsequently rediscovered several times in limited forms).
|last1=Cooley
|first1=James W.
|first2=John W.
|last2=Tukey
|authorlink2=John W. Tukey
|year=1965
|title=An algorithm for the machine calculation of complex Fourier series
|journal=Math. Comput.
|volume=19
|doi=10.1090/S0025-5718-1965-0178586-1
|issue=90
|pages=297–301
}}</ref> but it was later discovered (Heideman, Johnson, & Burrus, 1984) that those two authors had independently re-invented an algorithm known to ] around 1805 (and subsequently rediscovered several times in limited forms).


The best known use of the Cooley–Tukey algorithm is to divide the transform into two pieces of size ''N''/2 at each step, and is therefore limited to power-of-two sizes, but any factorization can be used in general (as was known to both Gauss and Cooley/Tukey). These are called the '''radix-2''' and '''mixed-radix''' cases, respectively (and other variants such as the ] have their own names as well). Although the basic idea is recursive, most traditional implementations rearrange the algorithm to avoid explicit recursion. Also, because the Cooley–Tukey algorithm breaks the DFT into smaller DFTs, it can be combined arbitrarily with any other algorithm for the DFT, such as those described below. The best known use of the Cooley–Tukey algorithm is to divide the transform into two pieces of size {{math|n/2}} at each step, and is therefore limited to power-of-two sizes, but any factorization can be used in general (as was known to both Gauss and Cooley/Tukey<ref name="Heideman_Johnson_Burrus_1984"/>). These are called the ''radix-2'' and ''mixed-radix'' cases, respectively (and other variants such as the ] have their own names as well). Although the basic idea is recursive, most traditional implementations rearrange the algorithm to avoid explicit recursion. Also, because the Cooley–Tukey algorithm breaks the DFT into smaller DFTs, it can be combined arbitrarily with any other algorithm for the DFT, such as those described below.


===Other FFT algorithms=== ===Other FFT algorithms===
{{main|Prime-factor FFT algorithm|Bruun's FFT algorithm|Rader's FFT algorithm|Bluestein's FFT algorithm}} {{Main|Prime-factor FFT algorithm|Bruun's FFT algorithm|Rader's FFT algorithm|Chirp Z-transform|hexagonal fast Fourier transform}}


There are other FFT algorithms distinct from Cooley–Tukey. There are FFT algorithms other than Cooley–Tukey.


For <math display="inline">n = n_1n_2</math> with ] <math display="inline">n_1</math> and <math display="inline">n_2</math>, one can use the ] (Good–Thomas) algorithm (PFA), based on the ], to factorize the DFT similarly to Cooley–Tukey but without the twiddle factors. The Rader–Brenner algorithm (1976)<ref name="Brenner_Rader_1976"/> is a Cooley–Tukey-like factorization but with purely imaginary twiddle factors, reducing multiplications at the cost of increased additions and reduced ]; it was later superseded by the ] variant of Cooley–Tukey (which achieves the same multiplication count but with fewer additions and without sacrificing accuracy). Algorithms that recursively factorize the DFT into smaller operations other than DFTs include the Bruun and ] algorithms. (The Rader–Brenner<ref name="Brenner_Rader_1976"/> and QFT algorithms were proposed for power-of-two sizes, but it is possible that they could be adapted to general composite {{mvar|n}}. Bruun's algorithm applies to arbitrary even composite sizes.) ], in particular, is based on interpreting the FFT as a recursive factorization of the ] <math>z^n-1</math>, here into real-coefficient polynomials of the form <math>z^m-1</math> and <math>z^{2m} + az^m + 1</math>.
] did pioneering work on the FFS and FFT with ] (1940).


Another polynomial viewpoint is exploited by the Winograd FFT algorithm,<ref name="Winograd_1978"/><ref name="Winograd_1979"/> which factorizes <math>z^n-1</math> into ]s—these often have coefficients of 1,&nbsp;0,&nbsp;or&nbsp;−1, and therefore require few (if any) multiplications, so Winograd can be used to obtain minimal-multiplication FFTs and is often used to find efficient algorithms for small factors. Indeed, Winograd showed that the DFT can be computed with only <math>O(n)</math> irrational multiplications, leading to a proven achievable lower bound on the number of multiplications for power-of-two sizes; this comes at the cost of many more additions, a tradeoff no longer favorable on modern ] with ]. In particular, Winograd also makes use of the PFA as well as an algorithm by Rader for FFTs of ''prime'' sizes.
For ''N'' = ''N''<sub>1</sub>''N''<sub>2</sub> with ] ''N''<sub>1</sub> and ''N''<sub>2</sub>, one can use the ] (Good-Thomas) algorithm (PFA), based on the ], to factorize the DFT similarly to Cooley–Tukey but without the twiddle factors. The Rader-Brenner algorithm (1976) is a Cooley–Tukey-like factorization but with purely imaginary twiddle factors, reducing multiplications at the cost of increased additions and reduced ]; it was later superseded by the ] variant of Cooley–Tukey (which achieves the same multiplication count but with fewer additions and without sacrificing accuracy). Algorithms that recursively factorize the DFT into smaller operations other than DFTs include the Bruun and ] algorithms. (The Rader-Brenner and QFT algorithms were proposed for power-of-two sizes, but it is possible that they could be adapted to general composite ''n''. Bruun's algorithm applies to arbitrary even composite sizes.) ], in particular, is based on interpreting the FFT as a recursive factorization of the ] ''z<sup>N</sup>''−1, here into real-coefficient polynomials of the form ''z<sup>M</sup>''−1 and ''z<sup>2M</sup>'' + ''az<sup>M</sup>'' + 1.


], exploiting the existence of a ] for the multiplicative ] modulo prime {{mvar|n}}, expresses a DFT of prime size {{mvar|n}} as a cyclic ] of (composite) size {{math|''n'' – 1}}, which can then be computed by a pair of ordinary FFTs via the ] (although Winograd uses other convolution methods). Another prime-size FFT is due to L. I. Bluestein, and is sometimes called the ]; it also re-expresses a DFT as a convolution, but this time of the ''same'' size (which can be zero-padded to a ] and evaluated by radix-2 Cooley–Tukey FFTs, for example), via the identity
Another polynomial viewpoint is exploited by the ], which factorizes ''z<sup>N</sup>''−1 into ]s—these often have coefficients of 1, 0, or −1, and therefore require few (if any) multiplications, so Winograd can be used to obtain minimal-multiplication FFTs and is often used to find efficient algorithms for small factors. Indeed, Winograd showed that the DFT can be computed with only O(''N'') irrational multiplications, leading to a proven achievable lower bound on the number of multiplications for power-of-two sizes; unfortunately, this comes at the cost of many more additions, a tradeoff no longer favorable on modern ] with ]. In particular, Winograd also makes use of the PFA as well as an algorithm by Rader for FFTs of ''prime'' sizes.


: <math>nk = -\frac{(k-n)^2} 2 + \frac{n^2} 2 + \frac{k^2} 2.</math>
], exploiting the existence of a ] for the multiplicative ] modulo prime ''N'', expresses a DFT of prime size ''n'' as a cyclic ] of (composite) size ''N''−1, which can then be computed by a pair of ordinary FFTs via the ] (although Winograd uses other convolution methods). Another prime-size FFT is due to L. I. Bluestein, and is sometimes called the ]; it also re-expresses a DFT as a convolution, but this time of the ''same'' size (which can be zero-padded to a ] and evaluated by radix-2 Cooley–Tukey FFTs, for example), via the identity <math>nk = -(k-n)^2/2 + n^2/2 + k^2/2</math>.


] (HFFT) aims at computing an efficient FFT for the hexagonally-sampled data by using a new addressing scheme for hexagonal grids, called Array Set Addressing (ASA).
==FFT algorithms specialized for real and/or symmetric data==

==FFT algorithms specialized for real or symmetric data==
In many applications, the input data for the DFT are purely real, in which case the outputs satisfy the symmetry In many applications, the input data for the DFT are purely real, in which case the outputs satisfy the symmetry
:<math>X_{N-k} = X_k^*</math>
and efficient FFT algorithms have been designed for this situation (see e.g. Sorensen, 1987). One approach consists of taking an ordinary algorithm (e.g. Cooley–Tukey) and removing the redundant parts of the computation, saving roughly a factor of two in time and memory. Alternatively, it is possible to express an ''even''-length real-input DFT as a complex DFT of half the length (whose real and imaginary parts are the even/odd elements of the original real data), followed by O(''N'') post-processing operations.


:<math>X_{n-k} = X_k^*</math>
It was once believed that real-input DFTs could be more efficiently computed by means of the ] (DHT), but it was subsequently argued that a specialized real-input DFT algorithm (FFT) can typically be found that requires fewer operations than the corresponding DHT algorithm (FHT) for the same number of inputs. Bruun's algorithm (above) is another method that was initially proposed to take advantage of real inputs, but it has not proved popular.


and efficient FFT algorithms have been designed for this situation (see e.g. Sorensen, 1987).<ref name="Sorensen_Jones_Heideman_Burrus_1987_1"/><ref name="Sorensen_Jones_Heideman_Burrus_1987_2"/> One approach consists of taking an ordinary algorithm (e.g. Cooley–Tukey) and removing the redundant parts of the computation, saving roughly a factor of two in time and memory. Alternatively, it is possible to express an ''even''-length real-input DFT as a complex DFT of half the length (whose real and imaginary parts are the even/odd elements of the original real data), followed by <math>O(n)</math> post-processing operations.
There are further FFT specializations for the cases of real data that have ] symmetry, in which case one can gain another factor of (roughly) two in time and memory and the DFT becomes the discrete cosine/sine transform(s) (]/]). Instead of directly modifying an FFT algorithm for these cases, DCTs/DSTs can also be computed via FFTs of real data combined with O(''N'') pre/post processing.

It was once believed that real-input DFTs could be more efficiently computed by means of the ] (DHT), but it was subsequently argued that a specialized real-input DFT algorithm (FFT) can typically be found that requires fewer operations than the corresponding DHT algorithm (FHT) for the same number of inputs.<ref name="Sorensen_Jones_Heideman_Burrus_1987_1"/> Bruun's algorithm (above) is another method that was initially proposed to take advantage of real inputs, but it has not proved popular.

There are further FFT specializations for the cases of real data that have ] symmetry, in which case one can gain another factor of roughly two in time and memory and the DFT becomes the ]/] (]/]). Instead of directly modifying an FFT algorithm for these cases, DCTs/DSTs can also be computed via FFTs of real data combined with <math>O(n)</math> pre- and post-processing.


==Computational issues== ==Computational issues==


===Bounds on complexity and operation counts=== ===Bounds on complexity and operation counts===
{{unsolved|computer science|What is the lower bound on the complexity of fast Fourier transform algorithms? Can they be faster than Θ(N log N)?}} {{unsolved|computer science|What is the lower bound on the complexity of fast Fourier transform algorithms? Can they be faster than <math>O(N\log N)</math>?}}
A fundamental question of longstanding theoretical interest is to prove lower bounds on the ] and exact operation counts of fast Fourier transforms, and many open problems remain. It is not even rigorously proved whether DFTs truly require Ω(''N'' log(''N'')) (i.e., order ''N'' log(''N'') or greater) operations, even for the simple case of ] sizes, although no algorithms with lower complexity are known. In particular, the count of arithmetic operations is usually the focus of such questions, although actual performance on modern-day computers is determined by many other factors such as ] or ] optimization. A fundamental question of longstanding theoretical interest is to prove lower bounds on the ] and exact operation counts of fast Fourier transforms, and many open problems remain. It is not rigorously proved whether DFTs truly require <math display="inline">\Omega(n \log n)</math> (i.e., order ''<math>n \log n</math>'' or greater) operations, even for the simple case of ] sizes, although no algorithms with lower complexity are known. In particular, the count of arithmetic operations is usually the focus of such questions, although actual performance on modern-day computers is determined by many other factors such as ] or ] optimization.


Following pioneering work by ] (1978), a tight Θ(''N'') lower bound ''is'' known for the ]. It can be shown that only <math>4N-2\log_2^{2}N-2\log_2 N-4</math> irrational real multiplications are required to compute a DFT of power-of-two length <math>N=2^m</math>. Moreover, explicit algorithms that achieve this count are known (Heideman & Burrus, 1986; Duhamel, 1990). Unfortunately, these algorithms require too many additions to be practical, at least on modern computers with hardware multipliers.{{citation needed|date=February 2012}} Following work by ] (1978),<ref name="Winograd_1978"/> a tight <math>\Theta(n)</math> lower bound is known for the number of real multiplications required by an FFT. It can be shown that only <math display="inline">4n - 2\log_2^2(n) - 2\log_2(n) - 4</math> irrational real multiplications are required to compute a DFT of power-of-two length <math>n = 2^m</math>. Moreover, explicit algorithms that achieve this count are known (Heideman & ], 1986;<ref name="Heideman_Burrus_1986"/> Duhamel, 1990<ref name="Duhamel_1990"/>). However, these algorithms require too many additions to be practical, at least on modern computers with hardware multipliers (Duhamel, 1990;<ref name="Duhamel_1990"/> Frigo & ], 2005).<ref name="Frigo_Johnson_2005"/>


A tight lower bound is ''not'' known on the number of required additions, although lower bounds have been proved under some restrictive assumptions on the algorithms. In 1973, Morgenstern proved an Ω(''N'' log(''N'')) lower bound on the addition count for algorithms where the multiplicative constants have bounded magnitudes (which is true for most but not all FFT algorithms). Pan (1986) proved an Ω(''N'' log(''N'')) lower bound assuming a bound on a measure of the FFT algorithm's "asynchronicity", but the generality of this assumption is unclear. For the case of power-of-two ''N'', Papadimitriou (1979) argued that the number <math>N \log_2 N</math> of complex-number additions achieved by Cooley–Tukey algorithms is ''optimal'' under certain assumptions on the ] of the algorithm (his assumptions imply, among other things, that no additive identities in the roots of unity are exploited). (This argument would imply that at least <math>2 N \log_2 N</math> real additions are required, although this is not a tight bound because extra additions are required as part of complex-number multiplications.) Thus far, no published FFT algorithm has achieved fewer than <math>N \log_2 N</math> complex-number additions (or their equivalent) for power-of-two ''N''. A tight lower bound is not known on the number of required additions, although lower bounds have been proved under some restrictive assumptions on the algorithms. In 1973, Morgenstern<ref name="Morgenstern_1973"/> proved an <math>\Omega(n \log n)</math> lower bound on the addition count for algorithms where the multiplicative constants have bounded magnitudes (which is true for most but not all FFT algorithms). ] (1986)<ref name="Pan_1986"/> proved an <math>\Omega(n \log n)</math> lower bound assuming a bound on a measure of the FFT algorithm's "asynchronicity", but the generality of this assumption is unclear. For the case of power-of-two {{mvar|n}}, ] (1979)<ref name="Papadimitriou_1979"/> argued that the number <math display="inline">n \log_2 n</math> of complex-number additions achieved by Cooley–Tukey algorithms is ''optimal'' under certain assumptions on the ] of the algorithm (his assumptions imply, among other things, that no additive identities in the roots of unity are exploited). (This argument would imply that at least <math display="inline">2N \log_2 N</math> real additions are required, although this is not a tight bound because extra additions are required as part of complex-number multiplications.) Thus far, no published FFT algorithm has achieved fewer than <math display="inline">n \log_2 n</math> complex-number additions (or their equivalent) for power-of-two {{mvar|n}}.


A third problem is to minimize the ''total'' number of real multiplications and additions, sometimes called the "arithmetic complexity" (although in this context it is the exact count and not the asymptotic complexity that is being considered). Again, no tight lower bound has been proven. Since 1968, however, the lowest published count for power-of-two ''N'' was long achieved by the ], which requires <math>4N\log_2 N-6N+8</math> real multiplications and additions for ''N'' > 1. This was recently reduced to <math>\sim \frac{34}{9} N \log_2 N</math> (Johnson and Frigo, 2007; Lundy and Van Buskirk, 2007). A slightly larger count (but still better than split radix for ''N''≥256) was shown to be provably optimal for ''N''≤512 under additional restrictions on the possible algorithms (split-radix-like flowgraphs with unit-modulus multiplicative factors), by reduction to a ] problem solvable by ] (Haynal & Haynal, 2011). A third problem is to minimize the ''total'' number of real multiplications and additions, sometimes called the "arithmetic complexity" (although in this context it is the exact count and not the asymptotic complexity that is being considered). Again, no tight lower bound has been proven. Since 1968, however, the lowest published count for power-of-two {{mvar|n}} was long achieved by the ], which requires <math display="inline">4n\log_2(n) - 6n + 8</math> real multiplications and additions for {{Math|''n'' > 1}}. This was recently reduced to <math display="inline">\sim \frac{34}{9} n \log_2 n</math> (Johnson and Frigo, 2007;<ref name="Frigo_Johnson_2007"/> Lundy and Van Buskirk, 2007<ref name="Lundy_Buskirk_2007"/>). A slightly larger count (but still better than split radix for {{math|''n'' ≥ 256}}) was shown to be provably optimal for {{math|''n'' ≤ 512}} under additional restrictions on the possible algorithms (split-radix-like flowgraphs with unit-modulus multiplicative factors), by reduction to a ] problem solvable by ] (Haynal & Haynal, 2011).<ref name="Haynal_2011"/>


Most of the attempts to lower or prove the complexity of FFT algorithms have focused on the ordinary complex-data case, because it is the simplest. However, complex-data FFTs are so closely related to algorithms for related problems such as real-data FFTs, ]s, ]s, and so on, that any improvement in one of these would immediately lead to improvements in the others (Duhamel & Vetterli, 1990). Most of the attempts to lower or prove the complexity of FFT algorithms have focused on the ordinary complex-data case, because it is the simplest. However, complex-data FFTs are so closely related to algorithms for related problems such as real-data FFTs, ]s, ]s, and so on, that any improvement in one of these would immediately lead to improvements in the others (Duhamel & Vetterli, 1990).<ref name="Duhamel_Vetterli_1990"/>


===Approximations===
===Accuracy and approximations===
All of the FFT algorithms discussed above compute the DFT exactly (in exact arithmetic, i.e. neglecting ] errors). A few "FFT" algorithms have been proposed, however, that compute the DFT ''approximately'', with an error that can be made arbitrarily small at the expense of increased computations. Such algorithms trade the approximation error for increased speed or other properties. For example, an approximate FFT algorithm by Edelman et al. (1999) achieves lower communication requirements for ] with the help of a ]. A ]-based approximate FFT by Guo and Burrus (1996) takes sparse inputs/outputs (time/frequency localization) into account more efficiently than is possible{{fact|date=April 2014}} with an exact FFT. Another algorithm for approximate computation of a subset of the DFT outputs is due to Shentov et al. (1995). The Edelman algorithm works equally well for sparse and non-sparse data, since it is based on the compressibility (rank deficiency) of the Fourier matrix itself rather than the compressibility (sparsity) of the data. Conversely, if the data are sparse—that is, if only ''K'' out of ''N'' Fourier coefficients are nonzero—then the complexity can be reduced to O(''K''log(''N'')log(''N''/''K'')), and this has been demonstrated to lead to practical speedups compared to an ordinary FFT for N/K&gt;32 in a large-N example (N=2<sup>22</sup>) using a probabilistic approximate algorithm (which estimates the largest ''K'' coefficients to several decimal places).<ref name=Hassanieh12>Haitham Hassanieh, Piotr Indyk, Dina Katabi, and Eric Price, (PDF), ACM-SIAM Symposium On Discrete Algorithms (SODA), Kyoto, January 2012. See also the .</ref> All of the FFT algorithms discussed above compute the DFT exactly (i.e. neglecting ] errors). A few "FFT" algorithms have been proposed, however, that compute the DFT ''approximately'', with an error that can be made arbitrarily small at the expense of increased computations. Such algorithms trade the approximation error for increased speed or other properties. For example, an approximate FFT algorithm by Edelman et al. (1999)<ref name="Edelman_McCorquodale_Toledo_1999"/> achieves lower communication requirements for ] with the help of a ]. A ]-based approximate FFT by Guo and Burrus (1996)<ref name="Guo_Burrus_1996"/> takes sparse inputs/outputs (time/frequency localization) into account more efficiently than is possible with an exact FFT. Another algorithm for approximate computation of a subset of the DFT outputs is due to Shentov et al. (1995).<ref name="Shentov_Mitra_Heute_Hossen_1995"/> The Edelman algorithm works equally well for sparse and non-sparse data, since it is based on the compressibility (rank deficiency) of the Fourier matrix itself rather than the compressibility (sparsity) of the data. Conversely, if the data are sparse—that is, if only {{mvar|k}} out of {{mvar|n}} Fourier coefficients are nonzero—then the complexity can be reduced to <math>O(k \log n \log n/k)</math>, and this has been demonstrated to lead to practical speedups compared to an ordinary FFT for {{math|''n''/''k'' > 32}} in a large-{{mvar|n}} example ({{math|''n'' {{=}} 2{{sup|22}}}}) using a probabilistic approximate algorithm (which estimates the largest {{mvar|k}} coefficients to several decimal places).<ref name="Hassanieh_2012"/>


===Accuracy===
Even the "exact" FFT algorithms have errors when finite-precision floating-point arithmetic is used, but these errors are typically quite small; most FFT algorithms, e.g. Cooley–Tukey, have excellent numerical properties as a consequence of the ] structure of the algorithms. The upper bound on the ] for the Cooley–Tukey algorithm is O(ε log ''N''), compared to O(ε''N''<sup>3/2</sup>) for the naïve DFT formula (Gentleman and Sande, 1966), where ε is the machine floating-point relative precision. In fact, the ] (rms) errors are much better than these upper bounds, being only O(ε √log ''N'') for Cooley–Tukey and O(ε √''N'') for the naïve DFT (Schatzman, 1996). These results, however, are very sensitive to the accuracy of the twiddle factors used in the FFT (i.e. the ] values), and it is not unusual for incautious FFT implementations to have much worse accuracy, e.g. if they use inaccurate ] formulas. Some FFTs other than Cooley–Tukey, such as the Rader-Brenner algorithm, are intrinsically less stable.
FFT algorithms have errors when finite-precision floating-point arithmetic is used, but these errors are typically quite small; most FFT algorithms, e.g. Cooley–Tukey, have excellent numerical properties as a consequence of the ] structure of the algorithms. The upper bound on the ] for the Cooley–Tukey algorithm is <math display="inline">O(\varepsilon \log n)</math>, compared to <math display="inline">O(\varepsilon n^{3/2})</math> for the naïve DFT formula,<ref name="Gentleman_Sande_1966"/> where {{math|{{varepsilon}}}} is the machine floating-point relative precision. In fact, the ] (rms) errors are much better than these upper bounds, being only <math display="inline">O(\varepsilon \sqrt{\log n})</math> for Cooley–Tukey and <math display="inline">O(\varepsilon \sqrt{n})</math> for the naïve DFT (Schatzman, 1996).<ref name="Schatzman_1996"/> These results, however, are very sensitive to the accuracy of the twiddle factors used in the FFT (i.e. the ] values), and it is not unusual for incautious FFT implementations to have much worse accuracy, e.g. if they use inaccurate ] formulas. Some FFTs other than Cooley–Tukey, such as the Rader–Brenner algorithm, are intrinsically less stable.


In ], the finite-precision errors accumulated by FFT algorithms are worse, with rms errors growing as O(√''N'') for the Cooley–Tukey algorithm (Welch, 1969). Moreover, even achieving this accuracy requires careful attention to scaling in order to minimize the loss of precision, and ] involve rescaling at each intermediate stage of decompositions like Cooley–Tukey. In ], the finite-precision errors accumulated by FFT algorithms are worse, with rms errors growing as <math display="inline">O(\sqrt{n})</math> for the Cooley–Tukey algorithm (Welch, 1969).<ref name="Welch_1969"/> Achieving this accuracy requires careful attention to scaling to minimize loss of precision, and fixed-point FFT algorithms involve rescaling at each intermediate stage of decompositions like Cooley–Tukey.


To verify the correctness of an FFT implementation, rigorous guarantees can be obtained in O(''N''log(''N'')) time by a simple procedure checking the linearity, impulse-response, and time-shift properties of the transform on random inputs (Ergün, 1995). To verify the correctness of an FFT implementation, rigorous guarantees can be obtained in <math display="inline">O(n \log n)</math> time by a simple procedure checking the linearity, impulse-response, and time-shift properties of the transform on random inputs (Ergün, 1995).<ref name="Ergün_1995"/>


The values for intermediate frequencies may be obtained by various averaging methods.
==Multidimensional FFTs==<!-- This section is linked from ] -->

==Multidimensional FFTs==
<!-- This section is linked from ] -->


As defined in the ] article, the multidimensional DFT As defined in the ] article, the multidimensional DFT
Line 99: Line 101:
:<math>X_\mathbf{k} = \sum_{\mathbf{n}=0}^{\mathbf{N}-1} e^{-2\pi i \mathbf{k} \cdot (\mathbf{n} / \mathbf{N})} x_\mathbf{n}</math> :<math>X_\mathbf{k} = \sum_{\mathbf{n}=0}^{\mathbf{N}-1} e^{-2\pi i \mathbf{k} \cdot (\mathbf{n} / \mathbf{N})} x_\mathbf{n}</math>


transforms an array ''x''<sub>'''n'''</sub> with a ''d''-dimensional ] of indices <math>\mathbf{n}=(n_1, \ldots, n_d)</math> by a set of ''d'' nested summations (over <math>n_j = 0 \ldots N_j-1</math> for each ''j''), where the division '''n'''/'''N''', defined as <math>\mathbf{n} / \mathbf{N} = (n_1/N_1, \ldots, n_d/N_d)</math>, is performed element-wise. Equivalently, it is the composition of a sequence of ''d'' sets of one-dimensional DFTs, performed along one dimension at a time (in any order). transforms an array {{math|''x''{{sub|'''n'''}}}} with a {{mvar|d}}-dimensional ] of indices <math display="inline">\mathbf{n} = \left(n_1, \ldots, n_d\right)</math> by a set of {{mvar|d}} nested summations (over <math display="inline">n_j = 0 \ldots N_j - 1</math> for each {{mvar|j}}), where the division <math display="inline">\mathbf{n} / \mathbf{N} = \left(n_1/N_1, \ldots, n_d/N_d\right)</math> is performed element-wise. Equivalently, it is the composition of a sequence of ''d'' sets of one-dimensional DFTs, performed along one dimension at a time (in any order).


This compositional viewpoint immediately provides the simplest and most common multidimensional DFT algorithm, known as the '''row-column''' algorithm (after the two-dimensional case, below). That is, one simply performs a sequence of ''d'' one-dimensional FFTs (by any of the above algorithms): first you transform along the ''n''<sub>1</sub> dimension, then along the ''n''<sub>2</sub> dimension, and so on (or actually, any ordering will work). This method is easily shown to have the usual O(''N''log(''N'')) complexity, where <math>N = N_1 \cdot N_2 \cdot \ldots \cdot N_d</math> is the total number of data points transformed. In particular, there are ''N''/''N''<sub>1</sub> transforms of size ''N''<sub>1</sub>, etcetera, so the complexity of the sequence of FFTs is: This compositional viewpoint immediately provides the simplest and most common multidimensional DFT algorithm, known as the '''row-column''' algorithm (after the two-dimensional case, below). That is, one simply performs a sequence of {{mvar|d}} one-dimensional FFTs (by any of the above algorithms): first you transform along the {{math|''n''{{sub|1}}}} dimension, then along the {{math|''n''{{sub|2}}}} dimension, and so on (actually, any ordering works). This method is easily shown to have the usual <math display="inline">O(n \log n)</math> complexity, where <math display="inline">n = n_1 \cdot n_2 \cdots n_d</math> is the total number of data points transformed. In particular, there are {{math|''n''/''n''{{sub|1}}}} transforms of size {{math|''n''{{sub|1}}}}, etc., so the complexity of the sequence of FFTs is:


:<math>\begin{align} :<math>\begin{align}
& {} \qquad \frac{N}{N_1} O(N_1 \log N_1) + \cdots + \frac{N}{N_d} O(N_d \log N_d) \\ & \frac{n}{n_1} O(n_1 \log n_1) + \cdots + \frac{n}{n_d} O(n_d \log n_d) \\
& = O\left(N \left\right) = O(N \log N). ={} & O\left(n \left\right) = O(n \log n).
\end{align}</math> \end{align}</math>


In two dimensions, the ''x''<sub>'''k'''</sub> can be viewed as an <math>n_1 \times n_2</math> ], and this algorithm corresponds to first performing the FFT of all the rows (resp. columns), grouping the resulting transformed rows (resp. columns) together as another <math>n_1 \times n_2</math> matrix, and then performing the FFT on each of the columns (resp. rows) of this second matrix, and similarly grouping the results into the final result matrix. In two dimensions, the ''x''<sub>'''k'''</sub> can be viewed as an <math>n_1 \times n_2</math> ], and this algorithm corresponds to first performing the FFT of all the rows (resp. columns), grouping the resulting transformed rows (resp. columns) together as another <math>n_1 \times n_2</math> matrix, and then performing the FFT on each of the columns (resp. rows) of this second matrix, and similarly grouping the results into the final result matrix.


In more than two dimensions, it is often advantageous for ] locality to group the dimensions recursively. For example, a three-dimensional FFT might first perform two-dimensional FFTs of each planar "slice" for each fixed ''n''<sub>1</sub>, and then perform the one-dimensional FFTs along the ''n''<sub>1</sub> direction. More generally, an ] ] algorithm consists of recursively dividing the dimensions into two groups <math>(n_1, \ldots, n_{d/2})</math> and <math>(n_{d/2+1}, \ldots, n_d)</math> that are transformed recursively (rounding if ''d'' is not even) (see Frigo and Johnson, 2005). Still, this remains a straightforward variation of the row-column algorithm that ultimately requires only a one-dimensional FFT algorithm as the base case, and still has O(''N''log(''N'')) complexity. Yet another variation is to perform matrix ] in between transforming subsequent dimensions, so that the transforms operate on contiguous data; this is especially important for ] and ] situations where accessing non-contiguous data is extremely time-consuming. In more than two dimensions, it is often advantageous for ] locality to group the dimensions recursively. For example, a three-dimensional FFT might first perform two-dimensional FFTs of each planar "slice" for each fixed ''n''<sub>1</sub>, and then perform the one-dimensional FFTs along the ''n''<sub>1</sub> direction. More generally, an ] ] consists of recursively dividing the dimensions into two groups <math display="inline">(n_1, \ldots, n_{d/2})</math> and <math display="inline">(n_{d/2+1}, \ldots, n_d)</math> that are transformed recursively (rounding if {{mvar|d}} is not even) (see Frigo and Johnson, 2005).<ref name="Frigo_Johnson_2005"/> Still, this remains a straightforward variation of the row-column algorithm that ultimately requires only a one-dimensional FFT algorithm as the base case, and still has <math>O(n \log n)</math> complexity. Yet another variation is to perform matrix ] in between transforming subsequent dimensions, so that the transforms operate on contiguous data; this is especially important for ] and ] situations where accessing non-contiguous data is extremely time-consuming.


There are other multidimensional FFT algorithms that are distinct from the row-column algorithm, although all of them have O(''N''log(''N'')) complexity. Perhaps the simplest non-row-column FFT is the ], which is a generalization of the ordinary Cooley–Tukey algorithm where one divides the transform dimensions by a vector <math>\mathbf{r}=(r_1, r_2, \ldots, r_d)</math> of radices at each step. (This may also have cache benefits.) The simplest case of vector-radix is where all of the radices are equal (e.g. vector-radix-2 divides ''all'' of the dimensions by two), but this is not necessary. Vector radix with only a single non-unit radix at a time, i.e. <math>\mathbf{r}=(1, \ldots, 1, r, 1, \ldots, 1)</math>, is essentially a row-column algorithm. Other, more complicated, methods include polynomial transform algorithms due to Nussbaumer (1977), which view the transform in terms of convolutions and polynomial products. See Duhamel and Vetterli (1990) for more information and references. There are other multidimensional FFT algorithms that are distinct from the row-column algorithm, although all of them have <math display="inline">O(n \log n)</math> complexity. Perhaps the simplest non-row-column FFT is the ], which is a generalization of the ordinary Cooley–Tukey algorithm where one divides the transform dimensions by a vector <math display="inline">\mathbf{r} = \left(r_1, r_2, \ldots, r_d\right)</math> of radices at each step. (This may also have cache benefits.) The simplest case of vector-radix is where all of the radices are equal (e.g. vector-radix-2 divides ''all'' of the dimensions by two), but this is not necessary. Vector radix with only a single non-unit radix at a time, i.e. <math display="inline">\mathbf{r} = \left(1, \ldots, 1, r, 1, \ldots, 1\right)</math>, is essentially a row-column algorithm. Other, more complicated, methods include polynomial transform algorithms due to Nussbaumer (1977),<ref name="Nussbaumer_1977"/> which view the transform in terms of convolutions and polynomial products. See Duhamel and Vetterli (1990)<ref name="Duhamel_Vetterli_1990"/> for more information and references.


==Other generalizations== ==Other generalizations==
An O(''N''<sup>5/2</sup>log(''N'')) generalization to ] on the sphere ''S''<sup>2</sup> with ''N''<sup>2</sup> nodes was described by Mohlenkamp,<ref>{{cite journal|last1=Mohlenkamp|first1=Martin J.|title=A F ast T ransform for Spherical Harmonics|journal=The Journal of F ourier A nalysis and Applic ations|date=1999|volume=5|issue=2/3|pages=159–184|url=http://www.ohio.edu/people/mohlenka/research/MOHLEN1999P.pdf|accessdate=18 September 2014}}</ref> along with an algorithm conjectured (but not proven) to have O(''N''<sup>2</sup> log<sup>2</sup>(''N'')) complexity; Mohlenkamp also provides an implementation in the . A spherical-harmonic algorithm with O(''N''<sup>2</sup>log(''N'')) complexity is described by Rokhlin and Tygert.<ref>{{cite journal|last1=ROKHLIN|first1=VLADIMIR|last2=TYGERT|first2=MARK|title=FAST ALGORITHMS FOR SPHERICAL HARMONIC EXPANSIONS|journal=]|date=2006|volume=27|issue=6|pages=903–1928|url=http://tygert.com/sph2.pdf|accessdate=18 September 2014}}</ref> An <math display="inline">O(n^{5/2} \log n)</math> generalization to ] on the sphere {{math|''S''{{sup|2}}}} with {{math|''n''{{sup|2}}}} nodes was described by Mohlenkamp,<ref name="Mohlenkamp_1999"/> along with an algorithm conjectured (but not proven) to have <math display="inline">O(n^2 \log^2(n))</math> complexity; Mohlenkamp also provides an implementation in the libftsh library.<ref name="libftsh"/> A spherical-harmonic algorithm with <math display="inline">O(n^2 \log n)</math> complexity is described by Rokhlin and Tygert.<ref name="Rokhlin_Tygert_2006"/>


The ] is analogous to the FFT, except that it operates on a series of binned waveforms rather than a series of real or complex scalar values. Rotation (which in the FFT is multiplication by a complex phasor) is a circular shift of the component waveform. The ] is analogous to the FFT, except that it operates on a series of binned waveforms rather than a series of real or complex scalar values. Rotation (which in the FFT is multiplication by a complex phasor) is a circular shift of the component waveform.


Various groups have also published "FFT" algorithms for non-equispaced data, as reviewed in Potts ''et al.'' (2001). Such algorithms do not strictly compute the DFT (which is only defined for equispaced data), but rather some approximation thereof (a ], or NDFT, which itself is often computed only approximately). More generally there are various other methods of ]. Various groups have also published "FFT" algorithms for non-equispaced data, as reviewed in Potts ''et al.'' (2001).<ref name="Potts_Steidl_Tasche_2001"/> Such algorithms do not strictly compute the DFT (which is only defined for equispaced data), but rather some approximation thereof (a ], or NDFT, which itself is often computed only approximately). More generally there are various other methods of ].

==Applications==
The FFT is used in digital recording, sampling, ] and ] software.<ref>{{cite book |last1=Burgess |first1=Richard James |title=The History of Music Production |date=2014 |publisher= Oxford University Press |isbn=978-0199357178 |url=https://books.google.com/books?id=qMKiAwAAQBAJ |access-date=1 August 2019}}</ref>

The FFT's importance derives from the fact that it has made working in the frequency domain equally computationally feasible as working in the temporal or spatial domain. Some of the important applications of the FFT include:<ref name="Rockmore_2000"/><ref name="Chu_George_1999"/>

* fast large-integer ]s and polynomial multiplication,
* efficient matrix–vector multiplication for ], ] and other structured matrices,
* filtering algorithms (see ] and ] methods),
* fast algorithms for ] or ] (e.g. ] used for ] and ]/] encoding and decoding),
* fast ],
* solving ]s,
* computation of ].<ref name="Fernandez-de-Cossio_2012"/>
* modulation and demodulation of complex data symbols using orthogonal frequency division multiplexing (OFDM) for 5G, LTE, Wi-Fi, DSL, and other modern communication systems.

An original application of the FFT in ] particularly in the ] was developed by Marcello Minenna.<ref name="MinennaJBF">{{cite journal |title=A revisited and stable Fourier transform method for affine jump diffusion models |author-first1=Marcello |author-last1=Minenna |date=October 2008 |journal=Journal of Banking and Finance |doi=10.1016/j.jbankfin.2007.05.019|volume=32 |issue=10 |pages=2064–2075}}</ref>

== Limitation ==
{{Unreferenced section|date=November 2024}}
Despite its strengths, the Fast Fourier Transform (FFT) has limitations, particularly when analyzing signals with ] frequency content—where the frequency characteristics change over time. The FFT provides a global frequency representation, meaning it analyzes frequency information across the entire signal duration. This global perspective makes it challenging to detect short-lived or transient features within signals, as the FFT assumes that all frequency components are present throughout the entire signal.

For cases where frequency information varies over time, alternative transforms like the ] can be more suitable. The wavelet transform allows for a localized frequency analysis, capturing both frequency and time-based information. This makes it better suited for applications where critical information appears briefly in the signal. These differences highlight that while the FFT is a powerful tool for many applications, it may not be ideal for all types of signal analysis.

==Research areas==
; Big FFTs: With the explosion of big data in fields such as astronomy, the need for 512K&nbsp;FFTs has arisen for certain interferometry calculations. The data collected by projects such as ] and ] require FFTs of tens of billions of points. As this size does not fit into main memory, so called out-of-core FFTs are an active area of research.<ref name="Cormen_Nicol_1998"/>
; Approximate FFTs: For applications such as MRI, it is necessary to compute DFTs for nonuniformly spaced grid points and/or frequencies. Multipole based approaches can compute approximate quantities with factor of runtime increase.<ref name="Dutt_Rokhlin_1993"/>
; ]: The FFT may also be explained and interpreted using ] allowing for further generalization. A function on any compact group, including non-cyclic, has an expansion in terms of a basis of irreducible matrix elements. It remains active area of research to find efficient algorithm for performing this change of basis. Applications including efficient ] expansion, analyzing certain ]es, robotics etc.<ref name="Rockmore_2004"/>
; ]: Shor's fast algorithm for ] on a quantum computer has a subroutine to compute DFT of a binary vector. This is implemented as sequence of 1- or 2-bit quantum gates now known as quantum FFT, which is effectively the Cooley–Tukey FFT realized as a particular factorization of the Fourier matrix. Extension to these ideas is currently being explored.<ref>{{Cite journal |title=Quantum circuit for the fast Fourier transform |journal=Quantum Information Processing |volume=19 |issue=277 |year=2020 |first1=Asaka |last1=Ryo |first2=Sakai |last2=Kazumitsu |first3=Yahagi |last3=Ryoko |page=277 |doi=10.1007/s11128-020-02776-5 |arxiv=1911.03055 |bibcode=2020QuIP...19..277A |s2cid=207847474 |url=https://link.springer.com/article/10.1007/s11128-020-02776-5}}</ref>

==Language reference==
{{aligned table|class=wikitable|cols=3|row1header=y|col2style=font-family:monospace;
|Language
|Command–method
|Prerequisites

|]
|stats::fft(x)
|None

|]
|fft(x)
|None

|], ]
|fft(x)
|None

|]
|fft.fft(x)
|] or ]

|]
|Fourier
|None

|]
|fftw_one(plan,in,out)
|]

|]
|fft(A )
|]

|]
|fft.process(&mut x);
|

|]
|dft x
|
}}


==See also== ==See also==
FFT-related algorithms:
* ]

* ]
* ] * ]
* ] – computes individual terms of discrete Fourier transform
* ]

* ] – a diagram used to describe FFTs.
FFT implementations:
* ] applies the FFT to finite ].
* ] – a dual/GPL-licensed C++ and C# library (also supporting other languages), with real/complex FFT implementation
* ]/] – efficient convolution methods using FFT for long signals
* ] (involves application of FFT analysis to musical composition)
* ]s – Devices that perform an FFT
* ] "Fastest Fourier Transform in the West" – C library for the discrete Fourier transform (DFT) in one or more dimensions.
* – The Fastest Fourier Transform in the South.
* ] – another Fortran FFT library (public domain) * ] – another Fortran FFT library (public domain)
* Architecture-specific:
* ] – Computes individual terms of discrete Fourier transform
** Arm Performance Libraries<ref name="Arm Performance Libraries">{{cite web|date=2020 |title=Arm Performance Libraries |publisher=] |url=https://www.arm.com/products/development-tools/server-and-hpc/allinea-studio/performance-libraries |access-date=2020-12-16}}</ref>
** Intel ]
** Intel ]
* Many more implementations are available,<ref>{{Cite web|date=2020-04-05|title=Complete list of C/C++ FFT libraries|url=https://community.vcvrack.com/t/complete-list-of-c-c-fft-libraries/9153|access-date=2021-03-03|website=VCV Community|language=en}}</ref> for CPUs and GPUs, such as PocketFFT for C++

Other links:
* ] applies the FFT to finite ]
* ] – asymptotically fast multiplication algorithm for large integers
* ] – a diagram used to describe FFTs
* ] (involves application of DFT analysis to musical composition)
* ] – any of several devices that perform spectrum analysis, often via a DFT
* ] * ]
* ]
* ] * ]
* ] * ]
* ]
* ] * ]
* ]
* ]


==References== ==References==
{{Reflist|refs=
<ref name="Loan_1992">{{cite book |author-first=Charles |author-last=Van Loan |title=Computational Frameworks for the Fast Fourier Transform |publisher=] |date=1992}}</ref>
<ref name="Heideman_Johnson_Burrus_1984">{{cite journal |author-last1=Heideman |author-first1=Michael T. |author-first2=Don H. |author-last2=Johnson |author-first3=Charles Sidney |author-last3=Burrus |author-link3=Charles Sidney Burrus |doi=10.1109/MASSP.1984.1162257 |citeseerx=10.1.1.309.181 |title=Gauss and the history of the fast Fourier transform |journal=IEEE ASSP Magazine |volume=1 |issue=4 |pages=14–21 |date=1984 |s2cid=10032502 |url=http://www.cis.rit.edu/class/simg716/Gauss_History_FFT.pdf |archive-url=https://web.archive.org/web/20130319053449/http://www.cis.rit.edu/class/simg716/Gauss_History_FFT.pdf |archive-date=2013-03-19 |url-status=live}}</ref>
<ref name="Heideman_Burrus_1986">{{cite journal |author-first1=Michael T. |author-last1=Heideman |author-first2=Charles Sidney |author-last2=Burrus |author-link2=Charles Sidney Burrus |date=1986 |doi=10.1109/TASSP.1986.1164785 |title=On the number of multiplications necessary to compute a length-2<sup>''n''</sup> DFT |journal=] |volume=34 |issue=1 |pages=91–95}}</ref>
<ref name="Dongarra_Sullivan_2000">{{cite journal |title=Guest Editors' Introduction to the top 10 algorithms |journal= Computing in Science & Engineering|date=January 2000 |issn=1521-9615 |pages=22–23 |volume=2 |issue=1 |doi=10.1109/MCISE.2000.814652 |author-first1=Jack |author-last1=Dongarra |author-first2=Francis |author-last2=Sullivan|bibcode=2000CSE.....2a..22D }}</ref>
<ref name="Brenner_Rader_1976">{{cite journal |author-first1=Norman M. |author-last1=Brenner |author-first2=Charles M. |author-last2=Rader |date=1976 |title=A New Principle for Fast Fourier Transformation |journal=] |volume=24 |issue=3 |doi=10.1109/TASSP.1976.1162805 |pages=264–266}}</ref>
<ref name="Kent_2002">{{cite book |author-last1=Kent |author-first1=Ray D. |author-last2=Read |author-first2=Charles |date=2002 |title=Acoustic Analysis of Speech |publisher=Singular/Thomson Learning |isbn=0-7693-0112-6 }}</ref>
<ref name="Strang_1994">{{cite journal |author-last=Strang |author-first=Gilbert |author-link=Gilbert Strang |date=May–June 1994 |title=Wavelets |journal=] |volume=82 |issue=3 |pages=250–255 |jstor=29775194}}</ref>
<ref name="Ergün_1995">{{cite book |author-first=Funda |author-last=Ergün|author-link=Funda Ergun |title=Proceedings of the twenty-seventh annual ACM symposium on Theory of computing - STOC '95 |chapter=Testing multivariate linear functions |date=1995 |doi=10.1145/225058.225167 |location=Kyoto, Japan |pages=407–416 |isbn=978-0897917186|s2cid=15512806 }}</ref>
<ref name="Frigo_Johnson_2005">{{cite journal |author-last1=Frigo |author-first1=Matteo |author-last2=Johnson |author-first2=Steven G. |date=2005 |title=The Design and Implementation of FFTW3 |url=http://fftw.org/fftw-paper-ieee.pdf |archive-url=https://web.archive.org/web/20050207233032/http://www.fftw.org/fftw-paper-ieee.pdf |archive-date=2005-02-07 |url-status=live |journal=] |volume=93 |issue=2 |pages=216–231 |doi=10.1109/jproc.2004.840301 |bibcode=2005IEEEP..93..216F |citeseerx=10.1.1.66.3097|s2cid=6644892 }}</ref>
<ref name="Frigo_Johnson_2007">{{cite journal |author-last1=Frigo |author-first1=Matteo |author-last2=Johnson |author-first2=Steven G. |title=A Modified Split-Radix FFT With Fewer Arithmetic Operations |date=January 2007 |orig-date=2006-12-19 |journal=] |volume=55 |issue=1 |pages=111–119 |doi=10.1109/tsp.2006.882087 |citeseerx=10.1.1.582.5497|bibcode=2007ITSP...55..111J |s2cid=14772428 }}</ref>
<ref name="Duhamel_1990">{{cite journal |author-first1=Pierre |author-last1=Duhamel |date=1990 |doi=10.1109/29.60070 |title=Algorithms meeting the lower bounds on the multiplicative complexity of length-2<sup>n</sup> DFTs and their connection with practical algorithms |journal=] |volume=38 |issue=9 |pages=1504–1511}}</ref>
<ref name="Duhamel_Vetterli_1990">{{cite journal |author-first1=Pierre |author-last1=Duhamel |author-first2=Martin |author-last2=Vetterli |author-link2=Martin Vetterli |date=1990 |doi=10.1016/0165-1684(90)90158-U |title=Fast Fourier transforms: a tutorial review and a state of the art |journal=Signal Processing |volume=19 |issue=4 |pages=259–299 |bibcode=1990SigPr..19..259D |url=http://infoscience.epfl.ch/record/59946}}</ref>
<ref name="Edelman_McCorquodale_Toledo_1999">{{cite journal |author-first1=Alan |author-last1=Edelman |author-first2=Peter |author-last2=McCorquodale |author-first3=Sivan |author-last3=Toledo |date=1999 |doi=10.1137/S1064827597316266 |title=The Future Fast Fourier Transform? |journal=] |volume=20 |issue=3 |pages=1094–1114 |url=http://www.cs.tau.ac.il/~stoledo/Bib/Pubs/pp97-fft.pdf |archive-url=https://web.archive.org/web/20170705153832/http://www.cs.tau.ac.il/~stoledo/Bib/Pubs/pp97-fft.pdf |archive-date=2017-07-05 |url-status=live |citeseerx=10.1.1.54.9339}}</ref>
<ref name="Guo_Burrus_1996">{{cite book |author-first1=Haitao |author-last1=Guo |author-first2=Charles Sidney |author-last2=Burrus |chapter=Fast approximate Fourier transform via wavelets transform |editor-first1=Michael A. |editor-first2=Akram |editor-first3=Andrew F. |editor-last1=Unser |editor-last2=Aldroubi |editor-last3=Laine |author-link2=Charles Sidney Burrus |date=1996 |doi=10.1117/12.255236 |title=Wavelet Applications in Signal and Image Processing IV |series=] |volume=2825 |pages=250–259 |citeseerx=10.1.1.54.3984 |bibcode=1996SPIE.2825..250G |s2cid=120514955 }}</ref>
<ref name="Shentov_Mitra_Heute_Hossen_1995">{{cite journal |author-first1=Ognjan V. |author-last1=Shentov |author-first2=Sanjit K. |author-last2=Mitra |author-first3=Ulrich |author-last3=Heute |author-first4=Abdul N. |author-last4=Hossen |date=1995 |doi=10.1016/0165-1684(94)00103-7 |title=Subband DFT. I. Definition, interpretations and extensions |journal=Signal Processing |volume=41 |issue=3 |pages=261–277}}</ref>
<ref name="Hassanieh_2012">{{cite journal |author-first1=Haitham |author-last1=Hassanieh |author-first2=Piotr |author-last2=Indyk |author-link2=Piotr Indyk |author-first3=Dina |author-last3=Katabi |author-first4=Eric |author-last4=Price |url=https://www.mit.edu/~ecprice/papers/sparse-fft-soda.pdf |archive-url=https://web.archive.org/web/20120304163958/http://www.mit.edu/~ecprice/papers/sparse-fft-soda.pdf |archive-date=2012-03-04 |url-status=live |title=Simple and Practical Algorithm for Sparse Fourier Transform |journal=ACM-SIAM Symposium on Discrete Algorithms |date=January 2012}} (NB. See also the .)</ref>
<ref name="Haynal_2011">{{cite journal |author-first1=Steve |author-last1=Haynal |author-first2=Heidi |author-last2=Haynal |title=Generating and Searching Families of FFT Algorithms |journal=Journal on Satisfiability, Boolean Modeling and Computation |volume=7 |issue=4 |pages=145–187 |date=2011 |url=http://jsat.ewi.tudelft.nl/content/volume7/JSAT7_13_Haynal.pdf |archive-url=https://web.archive.org/web/20120426031804/http://jsat.ewi.tudelft.nl/content/volume7/JSAT7_13_Haynal.pdf |archive-date=2012-04-26|doi=10.3233/SAT190084 |bibcode=2011arXiv1103.5740H |arxiv=1103.5740 |s2cid=173109 }}</ref>
<ref name="Lundy_Buskirk_2007">{{cite journal |author-first1=Thomas J. |author-last1=Lundy |author-first2=James |author-last2=Van Buskirk |date=2007 |title=A new matrix approach to real FFTs and convolutions of length 2<sup>k</sup> |journal=] |volume=80 |issue=1 |pages=23–45 |doi=10.1007/s00607-007-0222-6|s2cid=27296044 }}</ref>
<ref name="Papadimitriou_1979">{{cite journal |author-first=Christos H. |author-last=Papadimitriou |date=1979 |doi=10.1145/322108.322118 |title=Optimality of the fast Fourier transform |journal=] |volume=26 |pages=95–102|s2cid=850634 |doi-access=free }}</ref>
<ref name="Sorensen_Jones_Heideman_Burrus_1987_1">{{cite journal |author-first1=Henrik V. |author-last1=Sorensen |author-first2=Douglas L. |author-last2=Jones |author-link2=Douglas L. Jones |author-first3=Michael T. |author-last3=Heideman |author-first4=Charles Sidney |author-last4=Burrus |author-link4=Charles Sidney Burrus |date=1987 |doi=10.1109/TASSP.1987.1165220 |title=Real-valued fast Fourier transform algorithms |journal=] |volume=35 |issue=6 |pages=849–863 |citeseerx=10.1.1.205.4523}}</ref>
<ref name="Sorensen_Jones_Heideman_Burrus_1987_2">{{cite journal |doi=10.1109/TASSP.1987.1165284 |author-last1=Sorensen |author-first1=Henrik V. |author-last2=Jones |author-first2=Douglas L. |author-link2=Douglas L. Jones |author-last3=Heideman |author-first3=Michael T. |author-last4=Burrus |author-first4=Charles Sidney |author-link4=Charles Sidney Burrus |date=1987 |pages=1353 |issue=9 |volume=35 |title=Corrections to "Real-valued fast Fourier transform algorithms" |journal=]}}</ref>
<ref name="Winograd_1978">{{cite journal |author-first=Shmuel |author-last=Winograd |date=1978 |doi=10.1090/S0025-5718-1978-0468306-4 |title=On computing the discrete Fourier transform |journal=] |volume=32 |issue=141 |pages=175–199 |jstor=2006266 |pmc=430186 |pmid=16592303}}</ref>
<ref name="Winograd_1979">{{cite journal |author-first=Shmuel |author-last=Winograd |title=On the multiplicative complexity of the discrete Fourier transform |journal=] |volume=32 |issue=2 |date=1979 |pages=83–117 |doi=10.1016/0001-8708(79)90037-9 |doi-access= }}</ref>
<ref name="Morgenstern_1973">{{cite journal |author-first1=Jacques |author-last1=Morgenstern |date=1973 |doi=10.1145/321752.321761 |title=Note on a lower bound of the linear complexity of the fast Fourier transform |journal=] |volume=20 |issue=2 |pages=305–306|s2cid=2790142 |doi-access=free }}</ref>
<ref name="Mohlenkamp_1999">{{cite journal |doi=10.1007/BF01261607 |author-first1=Martin J. |author-last1=Mohlenkamp |date=1999 |title=A Fast Transform for Spherical Harmonics |journal=Journal of Fourier Analysis and Applications<!-- J. Fourier Anal. Appl. --> |volume=5 |issue=2–3 |pages=159–184 |bibcode=1999JFAA....5..159M |url=http://www.ohiouniversityfaculty.com/mohlenka/research/MOHLEN1999P.pdf |archive-url=https://web.archive.org/web/20170506033135/http://ohiouniversityfaculty.com/mohlenka/research/MOHLEN1999P.pdf |archive-date=2017-05-06 |url-status=live |access-date=2018-01-11 |citeseerx=10.1.1.135.9830|s2cid=119482349 }}</ref>
<ref name="Schatzman_1996">{{cite journal |author-last1=Schatzman |author-first1=James C. |date=1996 |title=Accuracy of the discrete Fourier transform and the fast Fourier transform |url=http://portal.acm.org/citation.cfm?id=240432 |journal=] |volume=17 |issue=5 |pages=1150–1166 |doi=10.1137/s1064827593247023 |bibcode=1996SJSC...17.1150S |citeseerx=10.1.1.495.9184}}</ref>
<ref name="Nussbaumer_1977">{{cite journal |author-first1=Henri J. |author-last1=Nussbaumer |date=1977 |doi=10.1049/el:19770280 |title=Digital filtering using polynomial transforms |journal=] |volume=13 |issue=13 |pages=386–387|bibcode=1977ElL....13..386N }}</ref>
<ref name="Pan_1986">{{cite journal |author-first=Victor Ya. |author-last=Pan |date=1986-01-02 |doi=10.1016/0020-0190(86)90035-9 |title=The trade-off between the additive complexity and the asynchronicity of linear and bilinear algorithms |journal=] |volume=22 |issue=1 |pages=11–14 |url=https://dl.acm.org/citation.cfm?id=8013 |access-date=2017-10-31 }}</ref>
<ref name="Potts_Steidl_Tasche_2001">{{cite book |author-first1=Daniel |author-last1=Potts |author-first2=Gabriele |author-last2=Steidl|author2-link= Gabriele Steidl |author-first3=Manfred |author-last3=Tasche |date=2001 |chapter-url=http://www.tu-chemnitz.de/~potts/paper/ndft.pdf |archive-url=https://web.archive.org/web/20070926222858/http://www.tu-chemnitz.de/~potts/paper/ndft.pdf |archive-date=2007-09-26 |url-status=live |chapter=Fast Fourier transforms for nonequispaced data: A tutorial |editor-first1=J. J. |editor-last1=Benedetto |editor-first2=P. |editor-last2=Ferreira |title=Modern Sampling Theory: Mathematics and Applications |publisher=]}}</ref>
<ref name="Rokhlin_Tygert_2006">{{cite journal |author-first1=Vladimir |author-last1=Rokhlin |author-first2=Mark |author-last2=Tygert |date=2006 |title=Fast Algorithms for Spherical Harmonic Expansions |journal=] |volume=27 |issue=6 |doi=10.1137/050623073 |pages=1903–1928 |bibcode=2006SJSC...27.1903R |url=http://tygert.com/sph2.pdf |archive-url=https://web.archive.org/web/20141217212000/http://tygert.com/sph2.pdf |archive-date=2014-12-17 |url-status=live |access-date=2014-09-18 |citeseerx=10.1.1.125.7415}} </ref>
<ref name="Welch_1969">{{cite journal |author-first1=Peter D. |author-last1=Welch |date=1969 |doi=10.1109/TAU.1969.1162035 |title=A fixed-point fast Fourier transform error analysis |journal=] |volume=17 |issue=2 |pages=151–157}}</ref>
<ref name="Gauss_1866">{{cite book |author-first=Carl Friedrich |author-last=Gauss |author-link=Carl Friedrich Gauss |chapter-url=https://babel.hathitrust.org/cgi/pt?id=uc1.c2857678;view=1up;seq=279 |title=Nachlass |chapter=Theoria interpolationis methodo nova tractata |type=Unpublished manuscript |trans-chapter=Theory regarding a new method of interpolation |series=Werke |location=Göttingen, Germany |publisher=Königlichen Gesellschaft der Wissenschaften zu Göttingen |date=1866 |volume=3 |pages=265–303 |language=la, de}}</ref>
<ref name="Heideman_Johnson_Burrus_1985">{{cite journal |title=Gauss and the history of the fast Fourier transform |journal=Archive for History of Exact Sciences |date=1985-09-01 |issn=0003-9519 |pages=265–277 |volume=34 |issue=3 |doi=10.1007/BF00348431 |author-first1=Michael T. |author-last1=Heideman |author-first2=Don H. |author-last2=Johnson |author-first3=Charles Sidney |author-last3=Burrus |author-link3=Charles Sidney Burrus |citeseerx=10.1.1.309.181|s2cid=122847826 }}</ref>
<ref name="Yates_1937">{{cite journal |title=The design and analysis of factorial experiments |author-last=Yates |author-first=Frank |author-link=Frank Yates |date=1937 |journal=Technical Communication No. 35 of the Commonwealth Bureau of Soils|volume=142 |issue=3585 |pages=90–92 |bibcode=1938Natur.142...90F |doi=10.1038/142090a0 |s2cid=23501205 }}</ref>
<ref name="Cooley_Lewis_Welch_1967">{{cite journal |title=Historical notes on the fast Fourier transform |journal=] |date=June 1967 |issn=0018-9278 |pages=76–79 |volume=15 |issue=2 |doi=10.1109/TAU.1967.1161903 |author-first1=James W. |author-last1=Cooley |author-link1=James Cooley |author-first2=Peter A. W. |author-last2=Lewis |author-first3=Peter D. |author-last3=Welch |citeseerx=10.1.1.467.7209}}</ref>
<ref name="Cooley_Tukey_1965">{{cite journal |title=An algorithm for the machine calculation of complex Fourier series |url=https://www.ams.org/mcom/1965-19-090/S0025-5718-1965-0178586-1/ |journal=] |date=1965 |issn=0025-5718 |pages=297–301 |volume=19 |issue=90 |doi=10.1090/S0025-5718-1965-0178586-1 |author-first1=James W. |author-last1=Cooley |author-link1=James Cooley |author-first2=John W. |author-last2=Tukey |author-link2=John Tukey|doi-access=free }}</ref>
<ref name="Danielson_Lanczos_1942">{{cite journal |title=Some improvements in practical Fourier analysis and their application to x-ray scattering from liquids |author-first1=Gordon C. |author-last1=Danielson |author-link1=Gordon C. Danielson |author-first2=Cornelius |author-last2=Lanczos |author-link2=Cornelius Lanczos |date=1942 |journal=Journal of the Franklin Institute |doi=10.1016/S0016-0032(42)90767-1 |volume=233 |issue=4 |pages=365–380}}</ref>
<ref name="Lanczos_1956">{{cite book |author-first=Cornelius |author-last=Lanczos |author-link=Cornelius Lanczos |title=Applied Analysis |url=https://archive.org/details/appliedanalysis00lanc_0 |url-access=registration |date=1956 |publisher=]}}</ref>
<ref name="Fernandez-de-Cossio_2012">{{cite journal |author-last1=Fernandez-de-Cossio Diaz |author-first1=Jorge |author-last2=Fernandez-de-Cossio |author-first2=Jorge |date=2012-08-08 |title=Computation of Isotopic Peak Center-Mass Distribution by Fourier Transform |journal=Analytical Chemistry<!-- Anal. Chem. --> |volume=84 |issue=16 |pages=7052–7056 |doi=10.1021/ac301296a |pmid=22873736 |issn=0003-2700}}</ref>
<ref name="Chu_George_1999">{{cite book |title=Inside the FFT Black Box: Serial and Parallel Fast Fourier Transform Algorithms |author-last1=Chu |author-first1=Eleanor |author-last2=George |author-first2=Alan |publisher=] |isbn=978-1-42004996-1 |pages=153–168 |orig-date=1999-11-11 |chapter=Chapter 16 |date=1999-11-11}}</ref>
<ref name="Rockmore_2000">{{cite journal |title=The FFT: an algorithm the whole family can use |journal=Computing in Science & Engineering|date=January 2000 |issn=1521-9615 |pages=60–64 |volume=2 |issue=1 |doi=10.1109/5992.814659 |author-first=Daniel N. |author-last=Rockmore |citeseerx=10.1.1.17.228|bibcode=2000CSE.....2a..60R |s2cid=14978667 }}</ref>
<ref name="Rockmore_2004">{{cite book |title=Computational Noncommutative Algebra and Applications |chapter=Recent Progress and Applications in Group FFTs |publisher=Springer Netherlands |date=2004 |isbn=978-1-4020-1982-1 |pages=227–254 |series=NATO Science Series II: Mathematics, Physics and Chemistry |volume=136 |author-first=Daniel N. |author-last=Rockmore |editor-first=Jim |editor-last=Byrnes |doi=10.1007/1-4020-2307-3_9 |citeseerx=10.1.1.324.4700|s2cid=1412268 }}</ref>
<ref name="Gentleman_Sande_1966">{{cite journal |author-last1=Gentleman |author-first1=W. Morven |author-last2=Sande |author-first2=G. |date=1966 |title=Fast Fourier transforms—for fun and profit |journal=] |volume=29 |pages=563–578 |doi=10.1145/1464291.1464352|s2cid=207170956 |doi-access=free }}</ref>
<ref name="Gauss_1805">{{cite book |author-first=Carl Friedrich |author-last=Gauss |author-link=Carl Friedrich Gauss |date=1866 |orig-date=1805 |url=https://gdz.sub.uni-goettingen.de/id/PPN235999628 |title=Theoria interpolationis methodo nova tractata |series=Werke |volume=3 |pages=265–327 |location=Göttingen, Germany |publisher=Königliche Gesellschaft der Wissenschaften |language=la, de}}</ref>
<ref name="Cooley_1987">{{cite book |author-first=James W. |author-last=Cooley |author-link=James W. Cooley |contribution-url=https://carma.newcastle.edu.au/jon/Preprints/Talks/CARMA-CE/FFT.pdf |archive-url=https://web.archive.org/web/20160820070623/https://carma.newcastle.edu.au/jon/Preprints/Talks/CARMA-CE/FFT.pdf |archive-date=2016-08-20 |url-status=live |contribution=The Re-Discovery of the Fast Fourier Transform Algorithm |title=Microchimica Acta |location=Vienna, Austria |date=1987 |volume=III |pages=33–45}}</ref>
<ref name="Garwin_1969">{{cite journal |author-first=Richard |author-last=Garwin |url=https://fas.org/rlg/690600-fft.pdf |archive-url=https://web.archive.org/web/20060517021147/http://www.fas.org/RLG/690600-fft.pdf |archive-date=2006-05-17 |url-status=live |title=The Fast Fourier Transform As an Example of the Difficulty in Gaining Wide Use for a New Technique |journal=] |volume=AU-17 |issue=2 |date=June 1969 |pages=68–72}}</ref>
<ref name="libftsh">{{Cite web |url=http://www.math.ohiou.edu/~mjm/research/libftsh.html |title=libftsh library |access-date=2007-01-09 |archive-url=https://web.archive.org/web/20100623034953/http://www.math.ohiou.edu/~mjm/research/libftsh.html |archive-date=2010-06-23 }}</ref>
<ref name="Cormen_Nicol_1998">{{cite journal |title=Performing out-of-core FFTs on parallel disk systems |author-first1=Thomas H. |author-last1=Cormen |author-first2=David M. |author-last2=Nicol |date=1998 |journal=Parallel Computing |doi=10.1016/S0167-8191(97)00114-2 |volume=24 |issue=1 |pages=5–20 |citeseerx=10.1.1.44.8212 |s2cid=14996854 }}</ref>
<ref name="Dutt_Rokhlin_1993">{{cite journal |title=Fast Fourier Transforms for Nonequispaced Data |journal=] |date=1993-11-01 |issn=1064-8275 |pages=1368–1393 |volume=14 |issue=6 |doi=10.1137/0914081 |author-first1=Alok |author-last1=Dutt |author-first2=Vladimir |author-last2=Rokhlin|bibcode=1993SJSC...14.1368D }}</ref>
}}


==Further reading==
<references />
* {{cite journal * {{Cite book
|last=Brigham |first=Elbert Oran
|first1=N.
|title=The fast Fourier transform
|last1=Brenner
|date=1974
|first2=C.
|publisher=]
|last2=Rader
|isbn=978-0-13-307496-3
|year=1976
|edition=Nachdr.
|title= A New Principle for Fast Fourier Transformation
|location=Englewood Cliffs, N.J
|journal=IEEE Acoustics, Speech & Signal Processing
|volume=24
|issue=3
|doi=10.1109/TASSP.1976.1162805
|pages=264–266
}} }}
* {{Cite book
* {{Cite document|first=E. O.|last=Brigham|title=The Fast Fourier Transform|publication-place=New York|publisher=Prentice-Hall|year=2002|postscript=<!-- Bot inserted parameter. Either remove it; or change its value to "." for the cite to end in a ".", as necessary. -->{{inconsistent citations}}}}
|last=Briggs |first=William L.
* ], ], ], and ], 2001. '']'', 2nd. ed. MIT Press and McGraw-Hill. ISBN 0-262-03293-7. Especially chapter 30, "Polynomials and the FFT."
|last2=Henson |first2=Van Emden
* {{cite journal
|title=The DFT: An Owner's Manual for the Discrete Fourier Transform
|first1=Pierre
|date=1995
|last1=Duhamel
|publisher=]
|year=1990
|isbn=978-0-89871-342-8
|doi=10.1109/29.60070
|location=Philadelphia
|title=Algorithms meeting the lower bounds on the multiplicative complexity of length-<math>2^n</math> DFTs and their connection with practical algorithms
|journal=IEEE Trans. Acoust. Speech. Sig. Proc.
|volume=38
|issue=9
|pages=1504–151
}} }}
* {{Cite book
* P. Duhamel and M. Vetterli, 1990, {{doi-inline|10.1016/0165-1684(90)90158-U|Fast Fourier transforms: a tutorial review and a state of the art}}, ''Signal Processing'' '''19''': 259–299.
|last=Chu |first=Eleanor
* A. Edelman, P. McCorquodale, and S. Toledo, 1999, {{doi-inline|10.1137/S1064827597316266|The Future Fast Fourier Transform?}}, ''SIAM J. Sci. Computing'' '''20''': 1094–1114.
|last2=George |first2=Alan
* D. F. Elliott, & K. R. Rao, 1982, ''Fast transforms: Algorithms, analyses, applications''. New York: Academic Press.
|title=Inside the FFT Black Box: Serial and Parallel Fast Fourier Transform Algorithms
* Funda Ergün, 1995, {{doi-inline|10.1145/225058.225167|Testing multivariate linear functions: Overcoming the generator bottleneck}}, ''Proc. 27th ACM Symposium on the Theory of Computing'': 407–416.
|date=2000
*M. Frigo and S. G. Johnson, 2005, "," ''Proceedings of the IEEE'' '''93''': 216–231.
|publisher=]
* ], 1866. "," ''Werke'' band '''3''', 265–327. Göttingen: Königliche Gesellschaft der Wissenschaften.
|isbn=978-0-8493-0270-1
* W. M. Gentleman and G. Sande, 1966, "Fast Fourier transforms—for fun and profit," ''Proc. AFIPS'' '''29''': 563–578. {{doi|10.1145/1464291.1464352}}
|series=Computational mathematics series
* H. Guo and C. S. Burrus, 1996, {{doi-inline|10.1117/12.255236|Fast approximate Fourier transform via wavelets transform}}, ''Proc. SPIE Intl. Soc. Opt. Eng.'' '''2825''': 250–259.
|location=Boca Raton, Fla. London
* H. Guo, G. A. Sitton, C. S. Burrus, 1994, {{doi-inline|10.1109/ICASSP.1994.389994|The Quick Discrete Fourier Transform}}, ''Proc. IEEE Conf. Acoust. Speech and Sig. Processing (ICASSP)'' '''3''': 445–448.
* Steve Haynal and Heidi Haynal, "", ''Journal on Satisfiability, Boolean Modeling and Computation'' vol. 7, pp.&nbsp;145–187 (2011).
* {{cite journal
|last1=Heideman
|first1=M. T.
|first2=D. H.
|last2=Johnson
|first3=C. S.
|last3=Burrus
|doi=10.1109/MASSP.1984.1162257
|title=Gauss and the history of the fast Fourier transform
|journal=IEEE ASSP Magazine
|volume=1
|issue=4
|pages=14–21
|year=1984
}} }}
* {{cite journal * {{Cite book
|last1=Cormen |first1=Thomas H. |author-link=Thomas H. Cormen
|first1=Michael T.
|last2=Leiserson |first2=Charles E. |author-link2=Charles E. Leiserson
|last1=Heideman
|last3=Rivest |first3=Ronald L. |author-link3=Ronald L. Rivest
|first2=C. Sidney
|last4=Stein |first4=Clifford |author-link4=Clifford Stein
|last2=Burrus
|title=Introduction to Algorithms |title-link=Introduction to Algorithms
|year=1986
|date=2001
|doi=10.1109/TASSP.1986.1164785
|publisher=]
|title=On the number of multiplications necessary to compute a length-<math>2^n</math> DFT
|isbn=978-0-262-03293-3
|journal=IEEE Trans. Acoust. Speech. Sig. Proc.
|edition=2nd.
|volume=34
|location=Cambridge (Mass.)
|issue=1
|chapter=Chapter 30: Polynomials and the FFT
|pages=91–95
}} }}
* {{Cite book
* S. G. Johnson and M. Frigo, 2007. "," ''IEEE Trans. Signal Processing'' '''55''' (1): 111–119.
|last1=Elliott |first1=Douglas F.
* T. Lundy and J. Van Buskirk, 2007. "A new matrix approach to real FFTs and convolutions of length 2<sup>k</sup>," ''Computing'' '''80''' (1): 23–45.
|last2=Rao |first2=K. Ramamohan |author-link2=K. R. Rao
*Kent, Ray D. and Read, Charles (2002). ''Acoustic Analysis of Speech''. ISBN 0-7693-0112-6. Cites Strang, G. (1994)/May–June). Wavelets. ''American Scientist, 82,'' 250–255.
|url=https://books.google.com/books?id=DXrNCgAAQBAJ
* {{cite journal
|title=Fast transforms: algorithms, analyses, applications
|first1=Jacques
|date=1982
|last1=Morgenstern
|publisher=]
|year=1973
|isbn=978-0-12-237080-9
|doi=10.1145/321752.321761
|location=New York
|title=Note on a lower bound of the linear complexity of the fast Fourier transform
|journal=J. ACM
|volume=20
|issue=2
|pages=305–306
}} }}
* {{cite journal * {{Cite book
|last1=Guo |first1=H.
|doi=10.1007/BF01261607
|last2=Sitton |first2=G.A.
|first1=M. J.
|last3=Burrus |first3=C.S. |author-link3=Charles Sidney Burrus
|last1=Mohlenkamp
|url=https://ieeexplore.ieee.org/document/389994
|year=1999
|title=Proceedings of ICASSP '94. IEEE International Conference on Acoustics, Speech and Signal Processing
|title=A fast transform for spherical harmonics
|date=1994
|journal=J. Fourier Anal. Appl.
|publisher=]
|volume=5
|isbn=978-0-7803-1775-8
|issue=2–3
|volume=iii |pages=III/445–III/448
|pages=159–184
|chapter=The quick discrete Fourier transform
|url=http://www.math.ohiou.edu/~mjm/research/MOHLEN1999P.pdf
|doi=10.1109/ICASSP.1994.389994 |s2cid=42639206
}} }}
* {{cite journal * {{Cite journal
|first1=H. J. |last1=Johnson |first1=Steven G.
|last2=Frigo |first2=Matteo
|last1=Nussbaumer
|date=January 2007
|year=1977
|title=A Modified Split-Radix FFT With Fewer Arithmetic Operations
|doi=10.1049/el:19770280
|url=http://www.fftw.org/newsplit.pdf
|title=Digital filtering using polynomial transforms
|url-status=live
|journal=Electronics Lett.
|journal=IEEE Transactions on Signal Processing
|volume=13
|volume=55 |issue=1 |pages=111–119
|issue=13
|bibcode=2007ITSP...55..111J |citeseerx=10.1.1.582.5497 |doi=10.1109/TSP.2006.882087 |issn=1053-587X |s2cid=14772428
|pages=386–387
|archive-url=https://web.archive.org/web/20050526050219/http://www.fftw.org/newsplit.pdf
|archive-date=2005-05-26
}} }}
* {{Cite book |last=Nussbaumer |first=Henri J.
* V. Pan, 1986, {{doi-inline|10.1016/0020-0190(86)90035-9|The trade-off between the additive complexity and the asyncronicity of linear and bilinear algorithms}}, ''Information Proc. Lett.'' '''22''': 11–14.
|title=Fast Fourier Transform and Convolution Algorithms
* Christos H. Papadimitriou, 1979, {{doi-inline|10.1145/322108.322118|Optimality of the fast Fourier transform}}, ''J. ACM'' '''26''': 95–102.
|date=1990
* D. Potts, G. Steidl, and M. Tasche, 2001. "", in: J.J. Benedetto and P. Ferreira (Eds.), ''Modern Sampling Theory: Mathematics and Applications'' (Birkhauser).
|publisher=]
*{{Citation | last1=Press | first1=WH | last2=Teukolsky | first2=SA | last3=Vetterling | first3=WT | last4=Flannery | first4=BP | year=2007 | title=Numerical Recipes: The Art of Scientific Computing | edition=3rd | publisher=Cambridge University Press | publication-place=New York | isbn=978-0-521-88068-8 | chapter=Chapter 12. Fast Fourier Transform | chapter-url=http://apps.nrbook.com/empanel/index.html#pg=600}}
|isbn=978-3-540-11825-1
* {{cite journal
|edition=2., corr. and updated
|first1=Vladimir
|series=Springer series in information sciences
|last1=Rokhlin
|location=Berlin Heidelberg
|first2=Mark
|last2=Tygert
|year=2006
|title=Fast algorithms for spherical harmonic expansions
|journal=SIAM J. Sci. Computing
|volume=27
|issue=6
|doi=10.1137/050623073
|pages=1903–1928
}} }}
* {{Cite book
* James C. Schatzman, 1996, , ''SIAM J. Sci. Comput.'' '''17''': 1150–1166.
|last1=Press |first1=William H. |author-link=William H. Press
* {{cite journal
|last2=Teukolsky |first2=Saul A. |author-link2=Saul Teukolsky
|first1= O. V.
|last3=Vetterling |first3=William T.
|last1=Shentov
|last4=Flannery |first4=Brian P. |author-link4=Brian P. Flannery
|first2=S. K.
|url=https://faculty.kfupm.edu.sa/phys/aanaqvi/Numerical%20Recipes-The%20Art%20of%20Scientific%20Computing%203rd%20Edition%20(Press%20et%20al).pdf
|last2=Mitra
|title=Numerical recipes: the art of scientific computing
|first3=U.
|date=2007
|last3=Heute
|publisher=]
|first4=A. N.
|isbn=978-0-521-88068-8
|last4=Hossen
|edition=3.
|year=1995
|series=]
|doi=10.1016/0165-1684(94)00103-7
|location=Cambridge
|title=Subband DFT. I. Definition, interpretations and extensions
|pages=600–639 |chapter=Chapter 12. Fast Fourier Transform
|journal=Signal Processing
|volume=41
|issue= 3
|pages=261–277
}} }}
* {{cite journal * {{Cite journal
|last=Singleton |first=R.
|first1=H. V.
|date=June 1969
|last1=Sorensen
|title=A short bibliography on the fast Fourier transform
|first2=D. L.
|url=https://ieeexplore.ieee.org/document/1162040
|last2=Jones
|journal=]
|first3=M. T.
|volume=17 |issue=2 |pages=166–169
|last3=Heideman
|doi=10.1109/TAU.1969.1162040 |issn=0018-9278
|first4=C. S.
}} (NB. Contains extensive bibliography.)
|last4= Burrus
* {{Cite book
|year=1987
|last=Prestini |first=Elena
|doi=10.1109/TASSP.1987.1165220
|url=https://books.google.com/books?id=fye--TBu4T0C
|title=Real-valued fast Fourier transform algorithms
|title=The evolution of applied harmonic analysis: models of the real world
|journal=IEEE Trans. Acoust. Speech Sig. Processing
|date=2004
|volume=35
|publisher=]
|issue=35
|isbn=978-0-8176-4125-2
|pages=849–863
|series=Applied and numerical harmonic analysis
}} See also {{cite journal|doi=10.1109/TASSP.1987.1165284|last1=Sorensen|first1=H.|year=1987|pages=1353–1353|issue=9|volume=35|last2=Jones|journal=IEEE Transactions on Acoustics, Speech, and Signal Processing|first2=D.|last3=Heideman|first3=M.|last4=Burrus|first4=C.|title=Corrections to "Real-valued fast Fourier transform algorithms"}}
|location=Boston; Berlin
* {{cite journal
|at=Section 3.10: Gauss and the asteroids: history of the FFT
|first1=Peter D.
|last1=Welch
|year=1969
|doi=10.1109/TAU.1969.1162035
|title= A fixed-point fast Fourier transform error analysis
|journal=IEEE Trans. Audio Electroacoustics
|volume=17
|issue=2
|pages=151–157
}} }}
* {{Cite book |last=Van Loan |first=Charles F.
* {{cite journal
|title=Computational Frameworks for the Fast Fourier Transform
|first1=S.
|date=1992
|last1=Winograd
|publisher=]
|year=1978
|isbn=978-0-89871-285-8
|doi=10.1090/S0025-5718-1978-0468306-4
|series=Frontiers in applied mathematics
|title=On computing the discrete Fourier transform
|location=Philadelphia
|journal=Math. Computation
|volume=32
|issue=141
|pages=175–199
|jstor = 2006266
}} }}
* {{Cite book
|last=Terras |first=Audrey
|title=Fourier Analysis on Finite Groups and Applications
|date=1999
|publisher=]
|isbn=978-0-521-45718-7
|series=London Mathematical Society student texts
|location=Cambridge (GB)
}} (Chap.9 and other chapters)


==External links== ==External links==
* * {{snd}} fast Fourier algorithm
* {{snd}} FFT programming in C++{{snd}} the Cooley–Tukey algorithm
* '''', ] online book edited by C. Sidney Burrus, with chapters by C. Sidney Burrus, Ivan Selesnick, Markus Pueschel, Matteo Frigo, and Steven G. Johnson (2008).
* *
* Sri Welaratna, " {{Webarchive|url=https://web.archive.org/web/20140112235745/http://www.dataphysics.com/30_Years_of_FFT_Analyzers_by_Sri_Welaratna.pdf |date=2014-01-12 }}", ''Sound and Vibration'' (January 1997, 30th anniversary issue){{snd}} a historical review of hardware FFT devices
*
* {{snd}} a dual/GPL-licensed multilanguage (VBA, C++, Pascal, etc.) numerical analysis and data processing library
*
* {{snd}} MIT's <!-- ] --> sparse (sub-linear time) FFT algorithm, sFFT, and implementation
*
* {{snd}} a VB6 optimized library implementation with source code
*
* {{snd}} a visual interactive intro to Fourier transforms and FFT methods
* Sri Welaratna, "", ''Sound and Vibration'' (January 1997, 30th anniversary issue). A historical review of hardware FFT devices.
* {{snd}} tutorial how to use of the Fourier transform in time series analysis
*

* at Holistic Numerical Methods Institute.
{{Authority control}}
* GPL Licensed multilanguage (VBA, C++, Pascal, etc.) numerical analysis and data processing library.

* MIT Sparse FFT algorithm and implementation.
* VB6 optimized library implementation with source code.
] ]
] ]

Latest revision as of 22:34, 20 December 2024

O(N log N) discrete Fourier transform algorithm "FFT" redirects here. For other uses, see FFT (disambiguation).

An example FFT algorithm structure, using a decomposition into half-size FFTs
A discrete Fourier analysis of a sum of cosine waves at 10, 20, 30, 40, and 50 Hz

A fast Fourier transform (FFT) is an algorithm that computes the Discrete Fourier Transform (DFT) of a sequence, or its inverse (IDFT). A Fourier transform converts a signal from its original domain (often time or space) to a representation in the frequency domain and vice versa. The DFT is obtained by decomposing a sequence of values into components of different frequencies. This operation is useful in many fields, but computing it directly from the definition is often too slow to be practical. An FFT rapidly computes such transformations by factorizing the DFT matrix into a product of sparse (mostly zero) factors. As a result, it manages to reduce the complexity of computing the DFT from O ( n 2 ) {\textstyle O(n^{2})} , which arises if one simply applies the definition of DFT, to O ( n log n ) {\textstyle O(n\log n)} , where n is the data size. The difference in speed can be enormous, especially for long data sets where n may be in the thousands or millions. In the presence of round-off error, many FFT algorithms are much more accurate than evaluating the DFT definition directly or indirectly. There are many different FFT algorithms based on a wide range of published theories, from simple complex-number arithmetic to group theory and number theory.

Time-based representation (above) and frequency-based representation (below) of the same signal, where the lower representation can be obtained from the upper one by Fourier transformation

Fast Fourier transforms are widely used for applications in engineering, music, science, and mathematics. The basic ideas were popularized in 1965, but some algorithms had been derived as early as 1805. In 1994, Gilbert Strang described the FFT as "the most important numerical algorithm of our lifetime", and it was included in Top 10 Algorithms of 20th Century by the IEEE magazine Computing in Science & Engineering.

The best-known FFT algorithms depend upon the factorization of n, but there are FFTs with O ( n log n ) {\displaystyle O(n\log n)} complexity for all, even prime, n. Many FFT algorithms depend only on the fact that e 2 π i / n {\textstyle e^{-2\pi i/n}} is an n'th primitive root of unity, and thus can be applied to analogous transforms over any finite field, such as number-theoretic transforms. Since the inverse DFT is the same as the DFT, but with the opposite sign in the exponent and a 1/n factor, any FFT algorithm can easily be adapted for it.

History

The development of fast algorithms for DFT can be traced to Carl Friedrich Gauss's unpublished 1805 work on the orbits of asteroids Pallas and Juno. Gauss wanted to interpolate the orbits from sample observations; his method was very similar to the one that would be published in 1965 by James Cooley and John Tukey, who are generally credited for the invention of the modern generic FFT algorithm. While Gauss's work predated even Joseph Fourier's 1822 results, he did not analyze the method's complexity, and eventually used other methods to achieve the same end.

Between 1805 and 1965, some versions of FFT were published by other authors. Frank Yates in 1932 published his version called interaction algorithm, which provided efficient computation of Hadamard and Walsh transforms. Yates' algorithm is still used in the field of statistical design and analysis of experiments. In 1942, G. C. Danielson and Cornelius Lanczos published their version to compute DFT for x-ray crystallography, a field where calculation of Fourier transforms presented a formidable bottleneck. While many methods in the past had focused on reducing the constant factor for O ( n 2 ) {\textstyle O(n^{2})} computation by taking advantage of "symmetries", Danielson and Lanczos realized that one could use the "periodicity" and apply a "doubling trick" to "double with only slightly more than double the labor", though like Gauss they did not do the analysis to discover that this led to O ( n log n ) {\textstyle O(n\log n)} scaling.

James Cooley and John Tukey independently rediscovered these earlier algorithms and published a more general FFT in 1965 that is applicable when n is composite and not necessarily a power of 2, as well as analyzing the O ( n log n ) {\textstyle O(n\log n)} scaling. Tukey came up with the idea during a meeting of President Kennedy's Science Advisory Committee where a discussion topic involved detecting nuclear tests by the Soviet Union by setting up sensors to surround the country from outside. To analyze the output of these sensors, an FFT algorithm would be needed. In discussion with Tukey, Richard Garwin recognized the general applicability of the algorithm not just to national security problems, but also to a wide range of problems including one of immediate interest to him, determining the periodicities of the spin orientations in a 3-D crystal of Helium-3. Garwin gave Tukey's idea to Cooley (both worked at IBM's Watson labs) for implementation. Cooley and Tukey published the paper in a relatively short time of six months. As Tukey did not work at IBM, the patentability of the idea was doubted and the algorithm went into the public domain, which, through the computing revolution of the next decade, made FFT one of the indispensable algorithms in digital signal processing.

Definition

Let x 0 , , x n 1 {\displaystyle x_{0},\ldots ,x_{n-1}} be complex numbers. The DFT is defined by the formula

X k = m = 0 n 1 x m e i 2 π k m / n k = 0 , , n 1 , {\displaystyle X_{k}=\sum _{m=0}^{n-1}x_{m}e^{-i2\pi km/n}\qquad k=0,\ldots ,n-1,}

where e i 2 π / n {\displaystyle e^{i2\pi /n}} is a primitive n'th root of 1.

Evaluating this definition directly requires O ( n 2 ) {\textstyle O(n^{2})} operations: there are n outputs Xk , and each output requires a sum of n terms. An FFT is any method to compute the same results in O ( n log n ) {\textstyle O(n\log n)} operations. All known FFT algorithms require O ( n log n ) {\textstyle O(n\log n)} operations, although there is no known proof that lower complexity is impossible.

To illustrate the savings of an FFT, consider the count of complex multiplications and additions for n = 4096 {\textstyle n=4096} data points. Evaluating the DFT's sums directly involves n 2 {\textstyle n^{2}} complex multiplications and n ( n 1 ) {\textstyle n(n-1)} complex additions, of which O ( n ) {\textstyle O(n)} operations can be saved by eliminating trivial operations such as multiplications by 1, leaving about 30 million operations. In contrast, the radix-2 Cooley–Tukey algorithm, for n a power of 2, can compute the same result with only ( n / 2 ) log 2 ( n ) {\textstyle (n/2)\log _{2}(n)} complex multiplications (again, ignoring simplifications of multiplications by 1 and similar) and n log 2 ( n ) {\textstyle n\log _{2}(n)} complex additions, in total about 30,000 operations — a thousand times less than with direct evaluation. In practice, actual performance on modern computers is usually dominated by factors other than the speed of arithmetic operations and the analysis is a complicated subject (for example, see Frigo & Johnson, 2005), but the overall improvement from O ( n 2 ) {\textstyle O(n^{2})} to O ( n log n ) {\textstyle O(n\log n)} remains.

Algorithms

Cooley–Tukey algorithm

Main article: Cooley–Tukey FFT algorithm

By far the most commonly used FFT is the Cooley–Tukey algorithm. This is a divide-and-conquer algorithm that recursively breaks down a DFT of any composite size n = n 1 n 2 {\textstyle n=n_{1}n_{2}} into n 1 {\textstyle n_{1}} smaller DFTs of size n 2 {\textstyle n_{2}} , along with O ( n ) {\displaystyle O(n)} multiplications by complex roots of unity traditionally called twiddle factors (after Gentleman and Sande, 1966).

This method (and the general idea of an FFT) was popularized by a publication of Cooley and Tukey in 1965, but it was later discovered that those two authors had together independently re-invented an algorithm known to Carl Friedrich Gauss around 1805 (and subsequently rediscovered several times in limited forms).

The best known use of the Cooley–Tukey algorithm is to divide the transform into two pieces of size n/2 at each step, and is therefore limited to power-of-two sizes, but any factorization can be used in general (as was known to both Gauss and Cooley/Tukey). These are called the radix-2 and mixed-radix cases, respectively (and other variants such as the split-radix FFT have their own names as well). Although the basic idea is recursive, most traditional implementations rearrange the algorithm to avoid explicit recursion. Also, because the Cooley–Tukey algorithm breaks the DFT into smaller DFTs, it can be combined arbitrarily with any other algorithm for the DFT, such as those described below.

Other FFT algorithms

Main articles: Prime-factor FFT algorithm, Bruun's FFT algorithm, Rader's FFT algorithm, Chirp Z-transform, and hexagonal fast Fourier transform

There are FFT algorithms other than Cooley–Tukey.

For n = n 1 n 2 {\textstyle n=n_{1}n_{2}} with coprime n 1 {\textstyle n_{1}} and n 2 {\textstyle n_{2}} , one can use the prime-factor (Good–Thomas) algorithm (PFA), based on the Chinese remainder theorem, to factorize the DFT similarly to Cooley–Tukey but without the twiddle factors. The Rader–Brenner algorithm (1976) is a Cooley–Tukey-like factorization but with purely imaginary twiddle factors, reducing multiplications at the cost of increased additions and reduced numerical stability; it was later superseded by the split-radix variant of Cooley–Tukey (which achieves the same multiplication count but with fewer additions and without sacrificing accuracy). Algorithms that recursively factorize the DFT into smaller operations other than DFTs include the Bruun and QFT algorithms. (The Rader–Brenner and QFT algorithms were proposed for power-of-two sizes, but it is possible that they could be adapted to general composite n. Bruun's algorithm applies to arbitrary even composite sizes.) Bruun's algorithm, in particular, is based on interpreting the FFT as a recursive factorization of the polynomial z n 1 {\displaystyle z^{n}-1} , here into real-coefficient polynomials of the form z m 1 {\displaystyle z^{m}-1} and z 2 m + a z m + 1 {\displaystyle z^{2m}+az^{m}+1} .

Another polynomial viewpoint is exploited by the Winograd FFT algorithm, which factorizes z n 1 {\displaystyle z^{n}-1} into cyclotomic polynomials—these often have coefficients of 1, 0, or −1, and therefore require few (if any) multiplications, so Winograd can be used to obtain minimal-multiplication FFTs and is often used to find efficient algorithms for small factors. Indeed, Winograd showed that the DFT can be computed with only O ( n ) {\displaystyle O(n)} irrational multiplications, leading to a proven achievable lower bound on the number of multiplications for power-of-two sizes; this comes at the cost of many more additions, a tradeoff no longer favorable on modern processors with hardware multipliers. In particular, Winograd also makes use of the PFA as well as an algorithm by Rader for FFTs of prime sizes.

Rader's algorithm, exploiting the existence of a generator for the multiplicative group modulo prime n, expresses a DFT of prime size n as a cyclic convolution of (composite) size n – 1, which can then be computed by a pair of ordinary FFTs via the convolution theorem (although Winograd uses other convolution methods). Another prime-size FFT is due to L. I. Bluestein, and is sometimes called the chirp-z algorithm; it also re-expresses a DFT as a convolution, but this time of the same size (which can be zero-padded to a power of two and evaluated by radix-2 Cooley–Tukey FFTs, for example), via the identity

n k = ( k n ) 2 2 + n 2 2 + k 2 2 . {\displaystyle nk=-{\frac {(k-n)^{2}}{2}}+{\frac {n^{2}}{2}}+{\frac {k^{2}}{2}}.}

Hexagonal fast Fourier transform (HFFT) aims at computing an efficient FFT for the hexagonally-sampled data by using a new addressing scheme for hexagonal grids, called Array Set Addressing (ASA).

FFT algorithms specialized for real or symmetric data

In many applications, the input data for the DFT are purely real, in which case the outputs satisfy the symmetry

X n k = X k {\displaystyle X_{n-k}=X_{k}^{*}}

and efficient FFT algorithms have been designed for this situation (see e.g. Sorensen, 1987). One approach consists of taking an ordinary algorithm (e.g. Cooley–Tukey) and removing the redundant parts of the computation, saving roughly a factor of two in time and memory. Alternatively, it is possible to express an even-length real-input DFT as a complex DFT of half the length (whose real and imaginary parts are the even/odd elements of the original real data), followed by O ( n ) {\displaystyle O(n)} post-processing operations.

It was once believed that real-input DFTs could be more efficiently computed by means of the discrete Hartley transform (DHT), but it was subsequently argued that a specialized real-input DFT algorithm (FFT) can typically be found that requires fewer operations than the corresponding DHT algorithm (FHT) for the same number of inputs. Bruun's algorithm (above) is another method that was initially proposed to take advantage of real inputs, but it has not proved popular.

There are further FFT specializations for the cases of real data that have even/odd symmetry, in which case one can gain another factor of roughly two in time and memory and the DFT becomes the discrete cosine/sine transform(s) (DCT/DST). Instead of directly modifying an FFT algorithm for these cases, DCTs/DSTs can also be computed via FFTs of real data combined with O ( n ) {\displaystyle O(n)} pre- and post-processing.

Computational issues

Bounds on complexity and operation counts

Unsolved problem in computer science: What is the lower bound on the complexity of fast Fourier transform algorithms? Can they be faster than O ( N log N ) {\displaystyle O(N\log N)} ? (more unsolved problems in computer science)

A fundamental question of longstanding theoretical interest is to prove lower bounds on the complexity and exact operation counts of fast Fourier transforms, and many open problems remain. It is not rigorously proved whether DFTs truly require Ω ( n log n ) {\textstyle \Omega (n\log n)} (i.e., order n log n {\displaystyle n\log n} or greater) operations, even for the simple case of power of two sizes, although no algorithms with lower complexity are known. In particular, the count of arithmetic operations is usually the focus of such questions, although actual performance on modern-day computers is determined by many other factors such as cache or CPU pipeline optimization.

Following work by Shmuel Winograd (1978), a tight Θ ( n ) {\displaystyle \Theta (n)} lower bound is known for the number of real multiplications required by an FFT. It can be shown that only 4 n 2 log 2 2 ( n ) 2 log 2 ( n ) 4 {\textstyle 4n-2\log _{2}^{2}(n)-2\log _{2}(n)-4} irrational real multiplications are required to compute a DFT of power-of-two length n = 2 m {\displaystyle n=2^{m}} . Moreover, explicit algorithms that achieve this count are known (Heideman & Burrus, 1986; Duhamel, 1990). However, these algorithms require too many additions to be practical, at least on modern computers with hardware multipliers (Duhamel, 1990; Frigo & Johnson, 2005).

A tight lower bound is not known on the number of required additions, although lower bounds have been proved under some restrictive assumptions on the algorithms. In 1973, Morgenstern proved an Ω ( n log n ) {\displaystyle \Omega (n\log n)} lower bound on the addition count for algorithms where the multiplicative constants have bounded magnitudes (which is true for most but not all FFT algorithms). Pan (1986) proved an Ω ( n log n ) {\displaystyle \Omega (n\log n)} lower bound assuming a bound on a measure of the FFT algorithm's "asynchronicity", but the generality of this assumption is unclear. For the case of power-of-two n, Papadimitriou (1979) argued that the number n log 2 n {\textstyle n\log _{2}n} of complex-number additions achieved by Cooley–Tukey algorithms is optimal under certain assumptions on the graph of the algorithm (his assumptions imply, among other things, that no additive identities in the roots of unity are exploited). (This argument would imply that at least 2 N log 2 N {\textstyle 2N\log _{2}N} real additions are required, although this is not a tight bound because extra additions are required as part of complex-number multiplications.) Thus far, no published FFT algorithm has achieved fewer than n log 2 n {\textstyle n\log _{2}n} complex-number additions (or their equivalent) for power-of-two n.

A third problem is to minimize the total number of real multiplications and additions, sometimes called the "arithmetic complexity" (although in this context it is the exact count and not the asymptotic complexity that is being considered). Again, no tight lower bound has been proven. Since 1968, however, the lowest published count for power-of-two n was long achieved by the split-radix FFT algorithm, which requires 4 n log 2 ( n ) 6 n + 8 {\textstyle 4n\log _{2}(n)-6n+8} real multiplications and additions for n > 1. This was recently reduced to 34 9 n log 2 n {\textstyle \sim {\frac {34}{9}}n\log _{2}n} (Johnson and Frigo, 2007; Lundy and Van Buskirk, 2007). A slightly larger count (but still better than split radix for n ≥ 256) was shown to be provably optimal for n ≤ 512 under additional restrictions on the possible algorithms (split-radix-like flowgraphs with unit-modulus multiplicative factors), by reduction to a satisfiability modulo theories problem solvable by brute force (Haynal & Haynal, 2011).

Most of the attempts to lower or prove the complexity of FFT algorithms have focused on the ordinary complex-data case, because it is the simplest. However, complex-data FFTs are so closely related to algorithms for related problems such as real-data FFTs, discrete cosine transforms, discrete Hartley transforms, and so on, that any improvement in one of these would immediately lead to improvements in the others (Duhamel & Vetterli, 1990).

Approximations

All of the FFT algorithms discussed above compute the DFT exactly (i.e. neglecting floating-point errors). A few "FFT" algorithms have been proposed, however, that compute the DFT approximately, with an error that can be made arbitrarily small at the expense of increased computations. Such algorithms trade the approximation error for increased speed or other properties. For example, an approximate FFT algorithm by Edelman et al. (1999) achieves lower communication requirements for parallel computing with the help of a fast multipole method. A wavelet-based approximate FFT by Guo and Burrus (1996) takes sparse inputs/outputs (time/frequency localization) into account more efficiently than is possible with an exact FFT. Another algorithm for approximate computation of a subset of the DFT outputs is due to Shentov et al. (1995). The Edelman algorithm works equally well for sparse and non-sparse data, since it is based on the compressibility (rank deficiency) of the Fourier matrix itself rather than the compressibility (sparsity) of the data. Conversely, if the data are sparse—that is, if only k out of n Fourier coefficients are nonzero—then the complexity can be reduced to O ( k log n log n / k ) {\displaystyle O(k\log n\log n/k)} , and this has been demonstrated to lead to practical speedups compared to an ordinary FFT for n/k > 32 in a large-n example (n = 2) using a probabilistic approximate algorithm (which estimates the largest k coefficients to several decimal places).

Accuracy

FFT algorithms have errors when finite-precision floating-point arithmetic is used, but these errors are typically quite small; most FFT algorithms, e.g. Cooley–Tukey, have excellent numerical properties as a consequence of the pairwise summation structure of the algorithms. The upper bound on the relative error for the Cooley–Tukey algorithm is O ( ε log n ) {\textstyle O(\varepsilon \log n)} , compared to O ( ε n 3 / 2 ) {\textstyle O(\varepsilon n^{3/2})} for the naïve DFT formula, where 𝜀 is the machine floating-point relative precision. In fact, the root mean square (rms) errors are much better than these upper bounds, being only O ( ε log n ) {\textstyle O(\varepsilon {\sqrt {\log n}})} for Cooley–Tukey and O ( ε n ) {\textstyle O(\varepsilon {\sqrt {n}})} for the naïve DFT (Schatzman, 1996). These results, however, are very sensitive to the accuracy of the twiddle factors used in the FFT (i.e. the trigonometric function values), and it is not unusual for incautious FFT implementations to have much worse accuracy, e.g. if they use inaccurate trigonometric recurrence formulas. Some FFTs other than Cooley–Tukey, such as the Rader–Brenner algorithm, are intrinsically less stable.

In fixed-point arithmetic, the finite-precision errors accumulated by FFT algorithms are worse, with rms errors growing as O ( n ) {\textstyle O({\sqrt {n}})} for the Cooley–Tukey algorithm (Welch, 1969). Achieving this accuracy requires careful attention to scaling to minimize loss of precision, and fixed-point FFT algorithms involve rescaling at each intermediate stage of decompositions like Cooley–Tukey.

To verify the correctness of an FFT implementation, rigorous guarantees can be obtained in O ( n log n ) {\textstyle O(n\log n)} time by a simple procedure checking the linearity, impulse-response, and time-shift properties of the transform on random inputs (Ergün, 1995).

The values for intermediate frequencies may be obtained by various averaging methods.

Multidimensional FFTs

As defined in the multidimensional DFT article, the multidimensional DFT

X k = n = 0 N 1 e 2 π i k ( n / N ) x n {\displaystyle X_{\mathbf {k} }=\sum _{\mathbf {n} =0}^{\mathbf {N} -1}e^{-2\pi i\mathbf {k} \cdot (\mathbf {n} /\mathbf {N} )}x_{\mathbf {n} }}

transforms an array xn with a d-dimensional vector of indices n = ( n 1 , , n d ) {\textstyle \mathbf {n} =\left(n_{1},\ldots ,n_{d}\right)} by a set of d nested summations (over n j = 0 N j 1 {\textstyle n_{j}=0\ldots N_{j}-1} for each j), where the division n / N = ( n 1 / N 1 , , n d / N d ) {\textstyle \mathbf {n} /\mathbf {N} =\left(n_{1}/N_{1},\ldots ,n_{d}/N_{d}\right)} is performed element-wise. Equivalently, it is the composition of a sequence of d sets of one-dimensional DFTs, performed along one dimension at a time (in any order).

This compositional viewpoint immediately provides the simplest and most common multidimensional DFT algorithm, known as the row-column algorithm (after the two-dimensional case, below). That is, one simply performs a sequence of d one-dimensional FFTs (by any of the above algorithms): first you transform along the n1 dimension, then along the n2 dimension, and so on (actually, any ordering works). This method is easily shown to have the usual O ( n log n ) {\textstyle O(n\log n)} complexity, where n = n 1 n 2 n d {\textstyle n=n_{1}\cdot n_{2}\cdots n_{d}} is the total number of data points transformed. In particular, there are n/n1 transforms of size n1, etc., so the complexity of the sequence of FFTs is:

n n 1 O ( n 1 log n 1 ) + + n n d O ( n d log n d ) = O ( n [ log n 1 + + log n d ] ) = O ( n log n ) . {\displaystyle {\begin{aligned}&{\frac {n}{n_{1}}}O(n_{1}\log n_{1})+\cdots +{\frac {n}{n_{d}}}O(n_{d}\log n_{d})\\={}&O\left(n\left\right)=O(n\log n).\end{aligned}}}

In two dimensions, the xk can be viewed as an n 1 × n 2 {\displaystyle n_{1}\times n_{2}} matrix, and this algorithm corresponds to first performing the FFT of all the rows (resp. columns), grouping the resulting transformed rows (resp. columns) together as another n 1 × n 2 {\displaystyle n_{1}\times n_{2}} matrix, and then performing the FFT on each of the columns (resp. rows) of this second matrix, and similarly grouping the results into the final result matrix.

In more than two dimensions, it is often advantageous for cache locality to group the dimensions recursively. For example, a three-dimensional FFT might first perform two-dimensional FFTs of each planar "slice" for each fixed n1, and then perform the one-dimensional FFTs along the n1 direction. More generally, an asymptotically optimal cache-oblivious algorithm consists of recursively dividing the dimensions into two groups ( n 1 , , n d / 2 ) {\textstyle (n_{1},\ldots ,n_{d/2})} and ( n d / 2 + 1 , , n d ) {\textstyle (n_{d/2+1},\ldots ,n_{d})} that are transformed recursively (rounding if d is not even) (see Frigo and Johnson, 2005). Still, this remains a straightforward variation of the row-column algorithm that ultimately requires only a one-dimensional FFT algorithm as the base case, and still has O ( n log n ) {\displaystyle O(n\log n)} complexity. Yet another variation is to perform matrix transpositions in between transforming subsequent dimensions, so that the transforms operate on contiguous data; this is especially important for out-of-core and distributed memory situations where accessing non-contiguous data is extremely time-consuming.

There are other multidimensional FFT algorithms that are distinct from the row-column algorithm, although all of them have O ( n log n ) {\textstyle O(n\log n)} complexity. Perhaps the simplest non-row-column FFT is the vector-radix FFT algorithm, which is a generalization of the ordinary Cooley–Tukey algorithm where one divides the transform dimensions by a vector r = ( r 1 , r 2 , , r d ) {\textstyle \mathbf {r} =\left(r_{1},r_{2},\ldots ,r_{d}\right)} of radices at each step. (This may also have cache benefits.) The simplest case of vector-radix is where all of the radices are equal (e.g. vector-radix-2 divides all of the dimensions by two), but this is not necessary. Vector radix with only a single non-unit radix at a time, i.e. r = ( 1 , , 1 , r , 1 , , 1 ) {\textstyle \mathbf {r} =\left(1,\ldots ,1,r,1,\ldots ,1\right)} , is essentially a row-column algorithm. Other, more complicated, methods include polynomial transform algorithms due to Nussbaumer (1977), which view the transform in terms of convolutions and polynomial products. See Duhamel and Vetterli (1990) for more information and references.

Other generalizations

An O ( n 5 / 2 log n ) {\textstyle O(n^{5/2}\log n)} generalization to spherical harmonics on the sphere S with n nodes was described by Mohlenkamp, along with an algorithm conjectured (but not proven) to have O ( n 2 log 2 ( n ) ) {\textstyle O(n^{2}\log ^{2}(n))} complexity; Mohlenkamp also provides an implementation in the libftsh library. A spherical-harmonic algorithm with O ( n 2 log n ) {\textstyle O(n^{2}\log n)} complexity is described by Rokhlin and Tygert.

The fast folding algorithm is analogous to the FFT, except that it operates on a series of binned waveforms rather than a series of real or complex scalar values. Rotation (which in the FFT is multiplication by a complex phasor) is a circular shift of the component waveform.

Various groups have also published "FFT" algorithms for non-equispaced data, as reviewed in Potts et al. (2001). Such algorithms do not strictly compute the DFT (which is only defined for equispaced data), but rather some approximation thereof (a non-uniform discrete Fourier transform, or NDFT, which itself is often computed only approximately). More generally there are various other methods of spectral estimation.

Applications

The FFT is used in digital recording, sampling, additive synthesis and pitch correction software.

The FFT's importance derives from the fact that it has made working in the frequency domain equally computationally feasible as working in the temporal or spatial domain. Some of the important applications of the FFT include:

An original application of the FFT in finance particularly in the Valuation of options was developed by Marcello Minenna.

Limitation

This section does not cite any sources. Please help improve this section by adding citations to reliable sources. Unsourced material may be challenged and removed. (November 2024) (Learn how and when to remove this message)

Despite its strengths, the Fast Fourier Transform (FFT) has limitations, particularly when analyzing signals with non-stationary frequency content—where the frequency characteristics change over time. The FFT provides a global frequency representation, meaning it analyzes frequency information across the entire signal duration. This global perspective makes it challenging to detect short-lived or transient features within signals, as the FFT assumes that all frequency components are present throughout the entire signal.

For cases where frequency information varies over time, alternative transforms like the wavelet transform can be more suitable. The wavelet transform allows for a localized frequency analysis, capturing both frequency and time-based information. This makes it better suited for applications where critical information appears briefly in the signal. These differences highlight that while the FFT is a powerful tool for many applications, it may not be ideal for all types of signal analysis.

Research areas

Big FFTs
With the explosion of big data in fields such as astronomy, the need for 512K FFTs has arisen for certain interferometry calculations. The data collected by projects such as WMAP and LIGO require FFTs of tens of billions of points. As this size does not fit into main memory, so called out-of-core FFTs are an active area of research.
Approximate FFTs
For applications such as MRI, it is necessary to compute DFTs for nonuniformly spaced grid points and/or frequencies. Multipole based approaches can compute approximate quantities with factor of runtime increase.
Group FFTs
The FFT may also be explained and interpreted using group representation theory allowing for further generalization. A function on any compact group, including non-cyclic, has an expansion in terms of a basis of irreducible matrix elements. It remains active area of research to find efficient algorithm for performing this change of basis. Applications including efficient spherical harmonic expansion, analyzing certain Markov processes, robotics etc.
Quantum FFTs
Shor's fast algorithm for integer factorization on a quantum computer has a subroutine to compute DFT of a binary vector. This is implemented as sequence of 1- or 2-bit quantum gates now known as quantum FFT, which is effectively the Cooley–Tukey FFT realized as a particular factorization of the Fourier matrix. Extension to these ideas is currently being explored.

Language reference

LanguageCommand–methodPrerequisites
Rstats::fft(x)None
Scilabfft(x)None
MATLAB, Octavefft(x)None
Pythonfft.fft(x)numpy or scipy
MathematicaFourierNone
Fortranfftw_one(plan,in,out)FFTW
Juliafft(A )FFTW
Rustfft.process(&mut x);rustfft
Haskelldft xfft

See also

FFT-related algorithms:

FFT implementations:

  • ALGLIB – a dual/GPL-licensed C++ and C# library (also supporting other languages), with real/complex FFT implementation
  • FFTPACK – another Fortran FFT library (public domain)
  • Architecture-specific:
  • Many more implementations are available, for CPUs and GPUs, such as PocketFFT for C++

Other links:

References

  1. ^ Heideman, Michael T.; Johnson, Don H.; Burrus, Charles Sidney (1984). "Gauss and the history of the fast Fourier transform" (PDF). IEEE ASSP Magazine. 1 (4): 14–21. CiteSeerX 10.1.1.309.181. doi:10.1109/MASSP.1984.1162257. S2CID 10032502. Archived (PDF) from the original on 2013-03-19.
  2. Van Loan, Charles (1992). Computational Frameworks for the Fast Fourier Transform. SIAM.
  3. Strang, Gilbert (May–June 1994). "Wavelets". American Scientist. 82 (3): 250–255. JSTOR 29775194.
  4. Kent, Ray D.; Read, Charles (2002). Acoustic Analysis of Speech. Singular/Thomson Learning. ISBN 0-7693-0112-6.
  5. Dongarra, Jack; Sullivan, Francis (January 2000). "Guest Editors' Introduction to the top 10 algorithms". Computing in Science & Engineering. 2 (1): 22–23. Bibcode:2000CSE.....2a..22D. doi:10.1109/MCISE.2000.814652. ISSN 1521-9615.
  6. Gauss, Carl Friedrich (1866). "Theoria interpolationis methodo nova tractata" [Theory regarding a new method of interpolation]. Nachlass (Unpublished manuscript). Werke (in Latin and German). Vol. 3. Göttingen, Germany: Königlichen Gesellschaft der Wissenschaften zu Göttingen. pp. 265–303.
  7. ^ Heideman, Michael T.; Johnson, Don H.; Burrus, Charles Sidney (1985-09-01). "Gauss and the history of the fast Fourier transform". Archive for History of Exact Sciences. 34 (3): 265–277. CiteSeerX 10.1.1.309.181. doi:10.1007/BF00348431. ISSN 0003-9519. S2CID 122847826.
  8. Yates, Frank (1937). "The design and analysis of factorial experiments". Technical Communication No. 35 of the Commonwealth Bureau of Soils. 142 (3585): 90–92. Bibcode:1938Natur.142...90F. doi:10.1038/142090a0. S2CID 23501205.
  9. Danielson, Gordon C.; Lanczos, Cornelius (1942). "Some improvements in practical Fourier analysis and their application to x-ray scattering from liquids". Journal of the Franklin Institute. 233 (4): 365–380. doi:10.1016/S0016-0032(42)90767-1.
  10. Lanczos, Cornelius (1956). Applied Analysis. Prentice–Hall.
  11. Cooley, James W.; Lewis, Peter A. W.; Welch, Peter D. (June 1967). "Historical notes on the fast Fourier transform". IEEE Transactions on Audio and Electroacoustics. 15 (2): 76–79. CiteSeerX 10.1.1.467.7209. doi:10.1109/TAU.1967.1161903. ISSN 0018-9278.
  12. ^ Cooley, James W.; Tukey, John W. (1965). "An algorithm for the machine calculation of complex Fourier series". Mathematics of Computation. 19 (90): 297–301. doi:10.1090/S0025-5718-1965-0178586-1. ISSN 0025-5718.
  13. Cooley, James W. (1987). "The Re-Discovery of the Fast Fourier Transform Algorithm" (PDF). Microchimica Acta. Vol. III. Vienna, Austria. pp. 33–45. Archived (PDF) from the original on 2016-08-20.{{cite book}}: CS1 maint: location missing publisher (link)
  14. Garwin, Richard (June 1969). "The Fast Fourier Transform As an Example of the Difficulty in Gaining Wide Use for a New Technique" (PDF). IEEE Transactions on Audio and Electroacoustics. AU-17 (2): 68–72. Archived (PDF) from the original on 2006-05-17.
  15. ^ Rockmore, Daniel N. (January 2000). "The FFT: an algorithm the whole family can use". Computing in Science & Engineering. 2 (1): 60–64. Bibcode:2000CSE.....2a..60R. CiteSeerX 10.1.1.17.228. doi:10.1109/5992.814659. ISSN 1521-9615. S2CID 14978667.
  16. ^ Frigo, Matteo; Johnson, Steven G. (January 2007) . "A Modified Split-Radix FFT With Fewer Arithmetic Operations". IEEE Transactions on Signal Processing. 55 (1): 111–119. Bibcode:2007ITSP...55..111J. CiteSeerX 10.1.1.582.5497. doi:10.1109/tsp.2006.882087. S2CID 14772428.
  17. ^ Frigo, Matteo; Johnson, Steven G. (2005). "The Design and Implementation of FFTW3" (PDF). Proceedings of the IEEE. 93 (2): 216–231. Bibcode:2005IEEEP..93..216F. CiteSeerX 10.1.1.66.3097. doi:10.1109/jproc.2004.840301. S2CID 6644892. Archived (PDF) from the original on 2005-02-07.
  18. ^ Gentleman, W. Morven; Sande, G. (1966). "Fast Fourier transforms—for fun and profit". Proceedings of the AFIPS. 29: 563–578. doi:10.1145/1464291.1464352. S2CID 207170956.
  19. Gauss, Carl Friedrich (1866) . Theoria interpolationis methodo nova tractata. Werke (in Latin and German). Vol. 3. Göttingen, Germany: Königliche Gesellschaft der Wissenschaften. pp. 265–327.
  20. ^ Brenner, Norman M.; Rader, Charles M. (1976). "A New Principle for Fast Fourier Transformation". IEEE Transactions on Acoustics, Speech, and Signal Processing. 24 (3): 264–266. doi:10.1109/TASSP.1976.1162805.
  21. ^ Winograd, Shmuel (1978). "On computing the discrete Fourier transform". Mathematics of Computation. 32 (141): 175–199. doi:10.1090/S0025-5718-1978-0468306-4. JSTOR 2006266. PMC 430186. PMID 16592303.
  22. Winograd, Shmuel (1979). "On the multiplicative complexity of the discrete Fourier transform". Advances in Mathematics. 32 (2): 83–117. doi:10.1016/0001-8708(79)90037-9.
  23. ^ Sorensen, Henrik V.; Jones, Douglas L.; Heideman, Michael T.; Burrus, Charles Sidney (1987). "Real-valued fast Fourier transform algorithms". IEEE Transactions on Acoustics, Speech, and Signal Processing. 35 (6): 849–863. CiteSeerX 10.1.1.205.4523. doi:10.1109/TASSP.1987.1165220.
  24. Sorensen, Henrik V.; Jones, Douglas L.; Heideman, Michael T.; Burrus, Charles Sidney (1987). "Corrections to "Real-valued fast Fourier transform algorithms"". IEEE Transactions on Acoustics, Speech, and Signal Processing. 35 (9): 1353. doi:10.1109/TASSP.1987.1165284.
  25. Heideman, Michael T.; Burrus, Charles Sidney (1986). "On the number of multiplications necessary to compute a length-2 DFT". IEEE Transactions on Acoustics, Speech, and Signal Processing. 34 (1): 91–95. doi:10.1109/TASSP.1986.1164785.
  26. ^ Duhamel, Pierre (1990). "Algorithms meeting the lower bounds on the multiplicative complexity of length-2 DFTs and their connection with practical algorithms". IEEE Transactions on Acoustics, Speech, and Signal Processing. 38 (9): 1504–1511. doi:10.1109/29.60070.
  27. Morgenstern, Jacques (1973). "Note on a lower bound of the linear complexity of the fast Fourier transform". Journal of the ACM. 20 (2): 305–306. doi:10.1145/321752.321761. S2CID 2790142.
  28. Pan, Victor Ya. (1986-01-02). "The trade-off between the additive complexity and the asynchronicity of linear and bilinear algorithms". Information Processing Letters. 22 (1): 11–14. doi:10.1016/0020-0190(86)90035-9. Retrieved 2017-10-31.
  29. Papadimitriou, Christos H. (1979). "Optimality of the fast Fourier transform". Journal of the ACM. 26: 95–102. doi:10.1145/322108.322118. S2CID 850634.
  30. Lundy, Thomas J.; Van Buskirk, James (2007). "A new matrix approach to real FFTs and convolutions of length 2". Computing. 80 (1): 23–45. doi:10.1007/s00607-007-0222-6. S2CID 27296044.
  31. Haynal, Steve; Haynal, Heidi (2011). "Generating and Searching Families of FFT Algorithms" (PDF). Journal on Satisfiability, Boolean Modeling and Computation. 7 (4): 145–187. arXiv:1103.5740. Bibcode:2011arXiv1103.5740H. doi:10.3233/SAT190084. S2CID 173109. Archived from the original (PDF) on 2012-04-26.
  32. ^ Duhamel, Pierre; Vetterli, Martin (1990). "Fast Fourier transforms: a tutorial review and a state of the art". Signal Processing. 19 (4): 259–299. Bibcode:1990SigPr..19..259D. doi:10.1016/0165-1684(90)90158-U.
  33. Edelman, Alan; McCorquodale, Peter; Toledo, Sivan (1999). "The Future Fast Fourier Transform?" (PDF). SIAM Journal on Scientific Computing. 20 (3): 1094–1114. CiteSeerX 10.1.1.54.9339. doi:10.1137/S1064827597316266. Archived (PDF) from the original on 2017-07-05.
  34. Guo, Haitao; Burrus, Charles Sidney (1996). "Fast approximate Fourier transform via wavelets transform". In Unser, Michael A.; Aldroubi, Akram; Laine, Andrew F. (eds.). Wavelet Applications in Signal and Image Processing IV. Proceedings of SPIE. Vol. 2825. pp. 250–259. Bibcode:1996SPIE.2825..250G. CiteSeerX 10.1.1.54.3984. doi:10.1117/12.255236. S2CID 120514955.
  35. Shentov, Ognjan V.; Mitra, Sanjit K.; Heute, Ulrich; Hossen, Abdul N. (1995). "Subband DFT. I. Definition, interpretations and extensions". Signal Processing. 41 (3): 261–277. doi:10.1016/0165-1684(94)00103-7.
  36. Hassanieh, Haitham; Indyk, Piotr; Katabi, Dina; Price, Eric (January 2012). "Simple and Practical Algorithm for Sparse Fourier Transform" (PDF). ACM-SIAM Symposium on Discrete Algorithms. Archived (PDF) from the original on 2012-03-04. (NB. See also the sFFT Web Page.)
  37. Schatzman, James C. (1996). "Accuracy of the discrete Fourier transform and the fast Fourier transform". SIAM Journal on Scientific Computing. 17 (5): 1150–1166. Bibcode:1996SJSC...17.1150S. CiteSeerX 10.1.1.495.9184. doi:10.1137/s1064827593247023.
  38. Welch, Peter D. (1969). "A fixed-point fast Fourier transform error analysis". IEEE Transactions on Audio and Electroacoustics. 17 (2): 151–157. doi:10.1109/TAU.1969.1162035.
  39. Ergün, Funda (1995). "Testing multivariate linear functions". Proceedings of the twenty-seventh annual ACM symposium on Theory of computing - STOC '95. Kyoto, Japan. pp. 407–416. doi:10.1145/225058.225167. ISBN 978-0897917186. S2CID 15512806.{{cite book}}: CS1 maint: location missing publisher (link)
  40. Nussbaumer, Henri J. (1977). "Digital filtering using polynomial transforms". Electronics Letters. 13 (13): 386–387. Bibcode:1977ElL....13..386N. doi:10.1049/el:19770280.
  41. Mohlenkamp, Martin J. (1999). "A Fast Transform for Spherical Harmonics" (PDF). Journal of Fourier Analysis and Applications. 5 (2–3): 159–184. Bibcode:1999JFAA....5..159M. CiteSeerX 10.1.1.135.9830. doi:10.1007/BF01261607. S2CID 119482349. Archived (PDF) from the original on 2017-05-06. Retrieved 2018-01-11.
  42. "libftsh library". Archived from the original on 2010-06-23. Retrieved 2007-01-09.
  43. Rokhlin, Vladimir; Tygert, Mark (2006). "Fast Algorithms for Spherical Harmonic Expansions" (PDF). SIAM Journal on Scientific Computing. 27 (6): 1903–1928. Bibcode:2006SJSC...27.1903R. CiteSeerX 10.1.1.125.7415. doi:10.1137/050623073. Archived (PDF) from the original on 2014-12-17. Retrieved 2014-09-18.
  44. Potts, Daniel; Steidl, Gabriele; Tasche, Manfred (2001). "Fast Fourier transforms for nonequispaced data: A tutorial" (PDF). In Benedetto, J. J.; Ferreira, P. (eds.). Modern Sampling Theory: Mathematics and Applications. Birkhäuser. Archived (PDF) from the original on 2007-09-26.
  45. Burgess, Richard James (2014). The History of Music Production. Oxford University Press. ISBN 978-0199357178. Retrieved 1 August 2019.
  46. Chu, Eleanor; George, Alan (1999-11-11) . "Chapter 16". Inside the FFT Black Box: Serial and Parallel Fast Fourier Transform Algorithms. CRC Press. pp. 153–168. ISBN 978-1-42004996-1.
  47. Fernandez-de-Cossio Diaz, Jorge; Fernandez-de-Cossio, Jorge (2012-08-08). "Computation of Isotopic Peak Center-Mass Distribution by Fourier Transform". Analytical Chemistry. 84 (16): 7052–7056. doi:10.1021/ac301296a. ISSN 0003-2700. PMID 22873736.
  48. Minenna, Marcello (October 2008). "A revisited and stable Fourier transform method for affine jump diffusion models". Journal of Banking and Finance. 32 (10): 2064–2075. doi:10.1016/j.jbankfin.2007.05.019.
  49. Cormen, Thomas H.; Nicol, David M. (1998). "Performing out-of-core FFTs on parallel disk systems". Parallel Computing. 24 (1): 5–20. CiteSeerX 10.1.1.44.8212. doi:10.1016/S0167-8191(97)00114-2. S2CID 14996854.
  50. Dutt, Alok; Rokhlin, Vladimir (1993-11-01). "Fast Fourier Transforms for Nonequispaced Data". SIAM Journal on Scientific Computing. 14 (6): 1368–1393. Bibcode:1993SJSC...14.1368D. doi:10.1137/0914081. ISSN 1064-8275.
  51. Rockmore, Daniel N. (2004). "Recent Progress and Applications in Group FFTs". In Byrnes, Jim (ed.). Computational Noncommutative Algebra and Applications. NATO Science Series II: Mathematics, Physics and Chemistry. Vol. 136. Springer Netherlands. pp. 227–254. CiteSeerX 10.1.1.324.4700. doi:10.1007/1-4020-2307-3_9. ISBN 978-1-4020-1982-1. S2CID 1412268.
  52. Ryo, Asaka; Kazumitsu, Sakai; Ryoko, Yahagi (2020). "Quantum circuit for the fast Fourier transform". Quantum Information Processing. 19 (277): 277. arXiv:1911.03055. Bibcode:2020QuIP...19..277A. doi:10.1007/s11128-020-02776-5. S2CID 207847474.
  53. "Arm Performance Libraries". Arm. 2020. Retrieved 2020-12-16.
  54. "Complete list of C/C++ FFT libraries". VCV Community. 2020-04-05. Retrieved 2021-03-03.

Further reading

External links

Categories: