飞地是什么意思| 腮腺炎看什么科室| 什么人容易得癌症| 中央空调什么牌子好| 天秤座和什么星座最不配| 身体缺镁会有什么症状| 衡于虑的衡什么意思| 开水烫伤用什么药| 多吃香蕉有什么好处和坏处| 前列腺是什么东西| 肚子疼想吐是什么原因| 气虚是什么原因造成的| 颈椎钙化是什么意思严重么| 故作矜持的意思是什么| 肝火旺盛吃什么食物| 幽门螺旋杆菌吃什么药最好| 凿是什么意思| 光敏树脂是什么材料| 解酒喝什么最好| 野兔子吃什么| 前列腺回声欠均匀什么意思| 沙漠玫瑰什么时候开花| 经心的近义词是什么| 鬼节会开什么生肖| 心什么神什么| 前白蛋白高是什么意思| 西洋参泡水喝有什么功效| 肩膀疼应该挂什么科| 耳鼻喉科属于什么科| 虾线是什么| 什么叫阴虚什么叫阳虚| 凤尾鱼为什么突然就死| 便秘吃什么菜| mm代表什么单位| 舌下含服是什么意思| 桃胶和什么相克| 补睾丸吃什么药最好| 缺钾有什么症状和危害| 非食健字是什么意思| 什么情况下会感染hpv病毒| 发烧应该吃什么药| 阳光是什么颜色| 血尿是什么原因引起的男性| 血管鼓起来是什么原因| 最高位是什么位| 一直不来月经是什么原因| 孕妇吃什么水果对胎儿好| 五郎属什么生肖| 梦见两个小男孩是什么意思| 什么偏旁| 什么是养生| 68年属猴的是什么命| 眷念是什么意思| 最好的红酒是什么牌子| 晶莹的近义词是什么| hr医学上什么意思| 助产学是干什么的| 生性多疑是什么意思| 固执己见是什么意思| 孕妇吃鸡蛋对胎儿有什么好处| 做小月子要注意什么| 三伏天喝什么汤最好| 手脚出汗什么原因| 炙的意思是什么| kids是什么意思| 足内翻是什么样子的| 影字五行属什么| 营销号是什么意思| 一个雨一个亏念什么| 牛肉和什么蔬菜搭配好| 十一月份什么星座| 花生死苗烂根用什么药| 硒中毒有什么症状| 女性掉发严重是什么原因| comeon什么意思| 中午一点是什么时辰| 剂型是什么意思| 如意丹的作用是什么| 宝宝病毒性感冒吃什么药效果好| 鸭胗是什么器官| 妈宝女是什么意思| 散漫是什么意思| 为什么会有痛经| 头皮屑特别多是什么原因| 男人鼻子大代表什么| 什么是花胶| 更年期失眠吃什么药效果好| 红细胞阳性是什么意思| 空调睡眠模式是什么意思| 十二指肠溃疡是什么原因引起的| 查激素六项挂什么科| 儿童头痛挂什么科| 少了一个肾有什么影响| 肠胃炎吃什么好| 大姨妈血块多是什么原因| 海选是什么意思| 男生下体痒是什么原因| 欣喜若狂的近义词是什么| 什么东西人们都不喜欢吃| 莲子心有什么功效| 阑尾炎吃什么药见效快| 头晕头疼挂什么科| 耳朵有回音是什么原因| twice是什么意思| 要强是什么意思| 有什么寓言故事| 电销是什么工作| 愿字五行属什么| 升米恩斗米仇是什么意思| 铊是什么东西| 本命年犯太岁什么意思| 硫酸羟氯喹片治什么病| 吃什么能消除脂肪瘤| 中耳炎什么症状| 水险痣是什么意思| 肛门指检是检查什么| 黄精为什么要九蒸九晒| 鼻尖疼是什么原因| 丝状疣是什么原因长出来的| 不什么而什么| 增生是什么原因造成的| 急性阑尾炎什么症状| 什么终于什么造句| 71年属什么生肖| 宝刀未老的意思是什么| 什么牌子的助听器最好| 减肥该吃什么| 看指甲去医院挂什么科| 牛仔外套搭配什么裤子好看| 血小板高是什么引起的| 口苦口臭吃什么药效果最佳| 大眼角痒是什么原因| 孕妇梦到老公出轨什么意思| 碳酸钙d3颗粒什么时候吃最好| 嗯哼是什么意思| 心力衰竭吃什么药最好| 看食道挂什么科室| 怀孕不到一个月有什么症状| 左眼屈光不正是什么意思| 舌头溃疡是什么原因造成的| rop是什么意思| 混纺棉是什么面料| 8.26是什么星座| 北芪与黄芪有什么区别| 头上出汗多是什么原因| 胳膊疼挂什么科| 射手座属于什么星象| 类风湿吃什么药| 鱼漂什么牌子的好| 茶鱼是什么鱼| 吃什么去除体内湿热| 抉择是什么意思| 鸡呜狗盗是什么生肖| 肾素活性高是什么原因| 做小吃什么生意最赚钱| 头发油腻是什么原因| 尿检阴性是什么意思| 梦见打碎碗是什么预兆| 鞘是什么意思| 黑色素痣看什么科| 死党是什么意思| 3月7日是什么星座| 男女双修是什么意思| 什么原因得疱疹| 突然血糖高是什么原因引起的| 解脲脲原体阳性是什么| 舒俱来是什么宝石| 30岁属什么| 什么叫做| 什么是大小周| 无蒂息肉是什么意思| 肾病综合症是什么病| 中性粒细胞偏低是什么原因| 百花齐放是什么生肖| 妇科检查白细胞酯酶阳性是什么意思| 黄金有什么作用| 频繁大便是什么原因| 什么是义眼| approval是什么意思| 狐臭看什么科| 慢性气管炎吃什么药最有效| 扶山是什么意思| 左眼皮一直跳什么预兆| 围产期是什么意思| 女人骨质疏松吃什么最好| 五彩缤纷是什么意思| 山楂泡水喝有什么功效| 胎盘厚度代表什么| 血小板高是什么原因| 黄花菜都凉了什么意思| 繁星是什么意思| 针眼用什么眼药水| 1990是什么生肖| 子宫切除后要注意什么| vg是什么意思| 咽干是什么原因造成的| 什么是玄关| 最好的大学是什么大学| 胃反酸吃什么| 亚麻籽油是什么植物的籽榨出来的| 现在做什么最赚钱| 手心脚心出汗什么原因| 梦见发工资了是什么意思| 输钾为什么会痛| 梦见情敌什么预兆| 简单是什么意思| 青光眼是什么原因引起的| 头孢长什么样图片| 小孩吃什么提高免疫力| 什么头什么臂| 肺在什么位置图片| 头发定型用什么好| 觉悟是什么意思| 拉不出屎是什么原因| 局方是什么意思| 八九不离十是什么意思| 化验血挂什么科| 女人后脑勺出汗多是什么原因| 什么清肠茶好| 喉咙有痰吃什么药| 嘴里起血泡是什么原因| 泌尿系统由什么组成| 人流需要准备什么| 为什么一吃完饭就肚子疼| 女排精神是什么| 18kgp是什么金| 苹可以组什么词| 考拉吃什么食物| 有什么瓜| 月经前便秘是什么原因| 阴茎不硬吃什么| 易烊千玺原名叫什么| 家里为什么有蜈蚣| 梦见剃光头是什么预兆| 腿部肿胀是什么原因引起的| 腰痛宁为什么晚上吃| 马蹄是什么| 落班是什么意思| 疱疹性咽峡炎是什么引起的| 尿液是什么味道| 吃什么瘦肚子最快| 一日三餐是什么意思| 总打嗝吃什么药| 羊水破了什么感觉| 剪切是什么意思| 女性喝什么茶最好| 是什么结构| 厚黑学的精髓是什么| 9月21号是什么星座| 发乎情止乎礼什么意思| 为什么会得抑郁症| 乏是什么单位| 无花果不能和什么一起吃| 红颜知己的意思是什么| 肌无力是什么病| 什么是党的性质和宗旨的体现| 陈皮和橘子皮有什么区别| 情志病是什么意思| 手脚发热什么原因| 路痴是什么原因造成的| 给事中是什么官| 忌动土是什么意思| 虎头什么尾| 肺部肿瘤不能吃什么| 百度Jump to content

政府单位受邀倾力打造中国应急救灾展公益活动

From Wikipedia, the free encyclopedia
百度 在蒲团乡中心幼儿园,彭丽媛与老师和孩子们亲切交流,鼓励孩子们从小养成良好生活习惯,加强体育锻炼,有效预防传染疾病。

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.[1] 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.[2] As a result, it manages to reduce the complexity of computing the DFT from , which arises if one simply applies the definition of DFT, to , 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.

As the FFT is merely an algebraic refactoring of terms within the DFT, the DFT and the FFT both perform mathematically equivalent and interchangeable operations, assuming that all terms are computed with infinite precision. However, in the presence of round-off error, many FFT algorithms are much more accurate than evaluating the DFT definition directly or indirectly.

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.[1] In 1994, Gilbert Strang described the FFT as "the most important numerical algorithm of our lifetime",[3][4] and it was included in Top 10 Algorithms of 20th Century by the IEEE magazine Computing in Science & Engineering.[5]

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. The best-known FFT algorithms depend upon the factorization of n, but there are FFTs with complexity for all, even prime, n. Many FFT algorithms depend only on the fact that is an nth 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

[edit]

The development of fast algorithms for DFT was prefigured in Carl Friedrich Gauss's unpublished 1805 work on the orbits of asteroids Pallas and Juno. Gauss wanted to interpolate the orbits from sample observations;[6][7] 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.[8] 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.[9][10] While many methods in the past had focused on reducing the constant factor for computation by taking advantage of symmetries, Danielson and Lanczos realized that one could use the periodicity and apply a doubling trick to "double [n] with only slightly more than double the labor", though like Gauss they did not do the analysis to discover that this led to scaling.[11] In 1958, I. J. Good published a paper establishing the prime-factor FFT algorithm that applies to discrete Fourier transforms of size , where and are coprime.[12]

James Cooley and John Tukey independently rediscovered these earlier algorithms[7] 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 scaling.[13] 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.[14] Garwin gave Tukey's idea to Cooley (both worked at IBM's Watson labs) for implementation.[15] Cooley and Tukey published the paper in a relatively short time of six months.[16] 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

[edit]

Let be complex numbers. The DFT is defined by the formula

where is a primitive nth root of 1.

Evaluating this definition directly requires 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 operations. All known FFT algorithms require operations, although there is no known proof that lower complexity is impossible.[17]

To illustrate the savings of an FFT, consider the count of complex multiplications and additions for data points. Evaluating the DFT's sums directly involves complex multiplications and complex additions, of which 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 complex multiplications (again, ignoring simplifications of multiplications by 1 and similar) and 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),[18] but the overall improvement from to remains.

Algorithms

[edit]

Cooley–Tukey algorithm

[edit]

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 into smaller DFTs of size , along with multiplications by complex roots of unity traditionally called twiddle factors (after Gentleman and Sande, 1966).[19]

This method (and the general idea of an FFT) was popularized by a publication of Cooley and Tukey in 1965,[13] but it was later discovered[1] that those two authors had together independently re-invented an algorithm known to Carl Friedrich Gauss around 1805[20] (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[1]). 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

[edit]

For with coprime and , 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)[21] 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[21] 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 , here into real-coefficient polynomials of the form and .

Another polynomial viewpoint is exploited by the Winograd FFT algorithm,[22][23] which factorizes 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 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

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

[edit]

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

and efficient FFT algorithms have been designed for this situation (see e.g., Sorensen, 1987).[24][25] 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 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.[24] 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 pre- and post-processing.

Computational issues

[edit]

Bounds on complexity and operation counts

[edit]
Unsolved problem in computer science
What is the lower bound on the complexity of fast Fourier transform algorithms? Can they be faster than ?

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 (i.e., order 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),[22] a tight lower bound is known for the number of real multiplications required by an FFT. It can be shown that only irrational real multiplications are required to compute a DFT of power-of-two length . Moreover, explicit algorithms that achieve this count are known (Heideman & Burrus, 1986;[26] Duhamel, 1990[27]). However, these algorithms require too many additions to be practical, at least on modern computers with hardware multipliers (Duhamel, 1990;[27] Frigo & Johnson, 2005).[18]

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[28] proved an 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)[29] proved an 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)[30] argued that the number 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 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 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 real multiplications and additions for n > 1. This was recently reduced to (Johnson and Frigo, 2007;[17] Lundy and Van Buskirk, 2007[31]). 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).[32]

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).[33]

Approximations

[edit]

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)[34] 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)[35] 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).[36] 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 , 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 = 222) using a probabilistic approximate algorithm (which estimates the largest k coefficients to several decimal places).[37]

Accuracy

[edit]

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 , compared to for the na?ve DFT formula,[19] 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 for Cooley–Tukey and for the na?ve DFT (Schatzman, 1996).[38] 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 for the Cooley–Tukey algorithm (Welch, 1969).[39] 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 time by a simple procedure checking the linearity, impulse-response, and time-shift properties of the transform on random inputs (Ergün, 1995).[40]

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

Multidimensional FFTs

[edit]

As defined in the multidimensional DFT article, the multidimensional DFT

transforms an array xn with a d-dimensional vector of indices by a set of d nested summations (over for each j), where the division 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 complexity, where 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:

In two dimensions, the xk can be viewed as an 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 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 and that are transformed recursively (rounding if d is not even) (see Frigo and Johnson, 2005).[18] 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 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 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 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. , is essentially a row-column algorithm. Other, more complicated, methods include polynomial transform algorithms due to Nussbaumer (1977),[41] which view the transform in terms of convolutions and polynomial products. See Duhamel and Vetterli (1990)[33] for more information and references.

Other generalizations

[edit]

An generalization to spherical harmonics on the sphere S2 with n2 nodes was described by Mohlenkamp,[42] along with an algorithm conjectured (but not proven) to have complexity; Mohlenkamp also provides an implementation in the libftsh library.[43] A spherical-harmonic algorithm with complexity is described by Rokhlin and Tygert.[44]

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).[45] 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

[edit]

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

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:[16][47]

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

Alternatives

[edit]

The FFT can be a poor choice for analyzing signals with non-stationary frequency content—where the frequency characteristics change over time. DFTs provide a global frequency estimate, assuming that all frequency components are present throughout the entire signal, which makes it challenging to detect short-lived or transient features within signals.

For cases where frequency information appears briefly in the signal or generally varies over time, alternatives like the short-time Fourier transform, discrete wavelet transforms, or discrete Hilbert transform can be more suitable.[50][51] These transforms allow for localized frequency analysis by capturing both frequency and time-based information.

Research areas

[edit]
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.[52]
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.[53]
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 an active area of research to find an efficient algorithm for performing this change of basis. Applications including efficient spherical harmonic expansion, analyzing certain Markov processes, robotics etc.[54]
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 a 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.[55]

Language reference

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

See also

[edit]

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,[57] for CPUs and GPUs, such as PocketFFT for C++

Other links:

References

[edit]
  1. ^ a b c d 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 2025-08-07.
  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. Bibcode:1994AmSci..82..250S. 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. ^ a b Heideman, Michael T.; Johnson, Don H.; Burrus, Charles Sidney (2025-08-07). "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. ^ Good, I. J. (July 1958). "The Interaction Algorithm and Practical Fourier Analysis". Journal of the Royal Statistical Society, Series B (Methodological). 20 (2): 361–372. doi:10.1111/j.2517-6161.1958.tb00300.x.
  13. ^ a b 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.
  14. ^ 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 2025-08-07.{{cite book}}: CS1 maint: location missing publisher (link)
  15. ^ 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 2025-08-07.
  16. ^ a b 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.
  17. ^ a b Frigo, Matteo; Johnson, Steven G. (January 2007) [2025-08-07]. "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.
  18. ^ a b c 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 2025-08-07.
  19. ^ a b 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.
  20. ^ Gauss, Carl Friedrich (1866) [1805]. Theoria interpolationis methodo nova tractata. Werke (in Latin and German). Vol. 3. G?ttingen, Germany: K?nigliche Gesellschaft der Wissenschaften. pp. 265–327.
  21. ^ a b 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.
  22. ^ a b 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.
  23. ^ 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.
  24. ^ a b 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.
  25. ^ 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.
  26. ^ Heideman, Michael T.; Burrus, Charles Sidney (1986). "On the number of multiplications necessary to compute a length-2n DFT". IEEE Transactions on Acoustics, Speech, and Signal Processing. 34 (1): 91–95. doi:10.1109/TASSP.1986.1164785.
  27. ^ a b Duhamel, Pierre (1990). "Algorithms meeting the lower bounds on the multiplicative complexity of length-2n DFTs and their connection with practical algorithms". IEEE Transactions on Acoustics, Speech, and Signal Processing. 38 (9): 1504–1511. doi:10.1109/29.60070.
  28. ^ 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.
  29. ^ Pan, Victor Ya. (2025-08-07). "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 2025-08-07.
  30. ^ Papadimitriou, Christos H. (1979). "Optimality of the fast Fourier transform". Journal of the ACM. 26 (1): 95–102. doi:10.1145/322108.322118. S2CID 850634.
  31. ^ Lundy, Thomas J.; Van Buskirk, James (2007). "A new matrix approach to real FFTs and convolutions of length 2k". Computing. 80 (1): 23–45. doi:10.1007/s00607-007-0222-6. S2CID 27296044.
  32. ^ 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 2025-08-07.
  33. ^ a b 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.
  34. ^ 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 2025-08-07.
  35. ^ 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.
  36. ^ 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.
  37. ^ 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 2025-08-07. (NB. See also the sFFT Web Page.)
  38. ^ 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.
  39. ^ 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.
  40. ^ 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)
  41. ^ Nussbaumer, Henri J. (1977). "Digital filtering using polynomial transforms". Electronics Letters. 13 (13): 386–387. Bibcode:1977ElL....13..386N. doi:10.1049/el:19770280.
  42. ^ 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 2025-08-07. Retrieved 2025-08-07.
  43. ^ "libftsh library". Archived from the original on 2025-08-07. Retrieved 2025-08-07.
  44. ^ 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 2025-08-07. Retrieved 2025-08-07. [1]
  45. ^ 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 2025-08-07.
  46. ^ Burgess, Richard James (2014). The History of Music Production. Oxford University Press. ISBN 978-0199357178. Retrieved 1 August 2019.
  47. ^ Chu, Eleanor; George, Alan (2025-08-07) [2025-08-07]. "Chapter 16". Inside the FFT Black Box: Serial and Parallel Fast Fourier Transform Algorithms. CRC Press. pp. 153–168. ISBN 978-1-42004996-1.
  48. ^ Fernandez-de-Cossio Diaz, Jorge; Fernandez-de-Cossio, Jorge (2025-08-07). "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.
  49. ^ 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.
  50. ^ Kijewski-Correa, T.; Kareem, A. (October 2006). "Efficacy of Hilbert and Wavelet Transforms for Time-Frequency Analysis". Journal of Engineering Mechanics. 132 (10): 1037–1049. doi:10.1061/(ASCE)0733-9399(2006)132:10(1037). ISSN 0733-9399.
  51. ^ Stern, Richard M. (2020). "Notes on short-time Fourier transforms" (PDF). Archived (PDF) from the original on 2025-08-07. Retrieved 2025-08-07.
  52. ^ 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.
  53. ^ Dutt, Alok; Rokhlin, Vladimir (2025-08-07). "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.
  54. ^ 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.
  55. ^ 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.
  56. ^ "Arm Performance Libraries". Arm. 2020. Retrieved 2025-08-07.
  57. ^ "Complete list of C/C++ FFT libraries". VCV Community. 2025-08-07. Retrieved 2025-08-07.

Further reading

[edit]
[edit]
什么程度下病危通知书 12388是什么电话 家庭主妇是什么意思 推拿和按摩有什么区别 夏季风寒感冒吃什么药
头秃了一块是什么原因 姊妹是什么意思 9月3号是什么星座 左下腹痛是什么原因 孕妇做唐筛是检查什么
鞘膜积液挂什么科 脉弦是什么意思 肝岛是什么意思 吃什么白细胞升的最快 突然间头晕是什么原因
扁桃体发炎能吃什么水果 手指起水泡是什么原因 湿疹是什么样的 舌苔发白厚吃什么药 婴儿蚊虫叮咬红肿用什么药
什么是运动hcv9jop2ns4r.cn 林冲到底属什么生肖的hcv9jop8ns0r.cn 胰岛素偏低是什么原因hcv9jop6ns7r.cn 腹透是什么意思hcv8jop3ns6r.cn 左附件囊肿注意什么weuuu.com
暗网是什么hcv8jop1ns0r.cn attach什么意思hcv9jop3ns8r.cn 玻璃水是干什么用的hcv8jop4ns6r.cn 骨质增生是什么意思hcv9jop1ns0r.cn 指甲有竖纹是什么病hcv8jop4ns0r.cn
什么是扁平疣图片hcv8jop3ns7r.cn 胸闷出汗是什么原因hcv7jop9ns2r.cn 2036年是什么年hcv8jop8ns5r.cn 郁闷什么意思hcv9jop1ns6r.cn 甲状腺过氧化物酶抗体高说明什么hcv9jop5ns2r.cn
竹棉和纯棉有什么区别hcv8jop0ns8r.cn 陈皮是什么hcv8jop5ns4r.cn 菊花什么时候种植hcv8jop9ns8r.cn gmp认证是什么意思hcv8jop4ns3r.cn 戾什么意思hcv9jop7ns4r.cn
百度