Bruun's FFT algorithm
Bruun's algorithm is a fast Fourier transform (FFT) algorithm based on an unusual recursive polynomial-factorization approach, proposed for powers of two by G. Bruun in 1978 and generalized to arbitrary even composite sizes by H. Murakami in 1996. Because its operations involve only real coefficients until the last computation stage, it was initially proposed as a way to efficiently compute the discrete Fourier transform (DFT) of real data. Bruun's algorithm has not seen widespread use, however, as approaches based on the ordinary Cooley–Tukey FFT algorithm have been successfully adapted to real data with at least as much efficiency. Furthermore, there is evidence that Bruun's algorithm may... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
Bruun's algorithm is a fast Fourier transform (FFT) algorithm based on an unusual recursive polynomial-factorization approach, proposed for powers of two by G. Bruun in 1978 and generalized to arbitrary even composite sizes by H. Murakami in 1996. Because its operations involve only real coefficients until the last computation stage, it was initially proposed as a way to efficiently compute the discrete Fourier transform (DFT) of real data. Bruun's algorithm has not seen widespread use, however, as approaches based on the ordinary Cooley–Tukey FFT algorithm have been successfully adapted to real data with at least as much efficiency. Furthermore, there is evidence that Bruun's algorithm may be intrinsically less accurate than Cooley–Tukey in the face of finite numerical precision . Nevertheless, Bruun's algorithm illustrates an alternative algorithmic framework that can express both itself and the Cooley–Tukey algorithm, and thus provides an interesting perspective on FFTs that permits mixtures of the two algorithms and other generalizations. X_k = \sum_{n=0}^{N-1} x_n e^{-\frac{2\pi i}{N} nk } \qquad k = 0,\dots,N-1. For convenience, let us denote the N roots of unity by ω N n (n = 0, ..., N − 1): \omega_N^n = e^{-\frac{2\pi i}{N} n } and define the polynomial x(z) whose coefficients are x n : x(z) = \sum_{n=0}^{N-1} x_n z^n. The DFT can then be understood as a reduction of this polynomial; that is, X k is given by: X_k = x(\omega_N^k) = x(z) \mod (z - \omega_N^k) where mod denotes the polynomial remainder operation. The key to fast algorithms like Bruun's or Cooley–Tukey comes from the fact that one can perform this set of N remainder operations in recursive stages. The product of all of the monomials (z - \omega_N^k) for k=0..N-1 is simply z^N-1 (whose roots are clearly the N roots of unity). One then wishes to find a recursive factorization of z^N-1 into polynomials of few terms and smaller and smaller degree. To compute the DFT, one takes x(z) modulo each level of this factorization in turn, recursively, until one arrives at the monomials and the final result. If each level of the factorization splits every polynomial into an O(1) (constant-bounded) number of smaller polynomials, each with an O(1) number of nonzero coefficients, then the modulo operations for that level take O(N) time; since there will be a logarithmic number of levels, the overall complexity is O (N log N). More explicitly, suppose for example that z^N-1 = F_1(z) F_2(z) F_3(z) , and that F_k(z) = F_{k,1}(z) F_{k,2}(z) , and so on. The corresponding FFT algorithm would consist of first computing x k (z) = x(z) mod F k (z), then computing x k,j (z) = x k (z) mod F k,j (z), and so on, recursively creating more and more remainder polynomials of smaller and smaller degree until one arrives at the final degree-0 results. Moreover, as long as the polynomial factors at each stage are relatively prime (which for polynomials means that they have no common roots), one can construct a dual algorithm by reversing the process with the Chinese remainder theorem. ===Cooley–Tukey as polynomial factorization=== The standard decimation-in-frequency (DIF) radix-r Cooley–Tukey algorithm corresponds closely to a recursive factorization. For example, radix-2 DIF Cooley–Tukey factors z^N-1 into F_1 = (z^{N/2}-1) and F_2 = (z^{N/2}+1) . These modulo operations reduce the degree of x(z) by 2, which corresponds to dividing the problem size by 2. Instead of recursively factorizing F_2 directly, though, Cooley–Tukey instead first computes x 2 (z ω N ), shifting all the roots (by a twiddle factor) so that it can apply the recursive factorization of F_1 to both subproblems. That is, Cooley–Tukey ensures that all subproblems are also DFTs, whereas this is not generally true for an arbitrary recursive factorization (such as Bruun's, below). The basic Bruun algorithm for powers of two N=2 n factorizes z 2 n -1 recursively via the rules: z^{2M}-1 = (z^M - 1) (z^M + 1) \, z^{4M} + az^{2M} + 1 = (z^{2M} + \sqrt{2-a}z^M+1) (z^{2M} - \sqrt{2-a}z^M + 1) where a is a real constant with |a| ≤ 2. If a=2\cos(\phi) , \phi\in(0,\pi) , then \sqrt{2+a}=2\cos\tfrac\phi2 and \sqrt{2-a}=2\cos(\tfrac\pi 2-\tfrac\phi 2) . At stage s, s=0,1,2,n-1, the intermediate state consists of 2 s polynomials p_{s,0},\dots,p_{s,2^s-1} of degree 2 n-s - 1 or less , where \begin{align} p_{s,0}(z)&= p(z) \mod \left(z^{2^{n-s}}-1\right)&\quad&\text{and}\\ p_{s,m}(z) &= p(z)\mod \left(z^{2^{n-s}}-2\cos\left(\tfrac{m}{2^s}\pi\right)z^{2^{n-1-s}}+1\right)&m&=1,2,\dots,2^s-1 \end{align} By the construction of the factorization of z 2 n -1, the polynomials p s,m (z) each encode 2 n-s values X_k=p(e^{2\pi i\tfrac{k}{2^n}}) of the Fourier transform, for m=0, the covered indices are k=0, 2 k , 2∙2 s , 3∙2 s ,..., (2 n-s -1)∙2 s , for m>0 the covered indices are k=m, 2 s+1 -m, 2 s+1 +m, 2∙2 s+1 -m, 2∙2 s+1 +m, ..., 2 n -m. During the transition to the next stage, the polynomial p_{s,\ell}(z) is reduced to the polynomials p_{s+1,\ell}(z) and p_{s+1,2^s-\ell}(z) via polynomial division. If one wants to keep the polynomials in increasing index order, this pattern requires an implementation with two arrays. An implementation in place produces a predictable, but highly unordered sequence of indices, for example for N=16 the final order of the 8 linear remainders is (0, 4, 2, 6, 1, 7, 3, 5). At the end of the recursion, for , there remain linear polynomials encoding two Fourier coefficients and for the first and for the any other th polynomial the coefficients and . At each recursive stage, all of the polynomials of the common degree are reduced to two parts of half the degree . The divisor of this polynomial remainder computation is a quadratic polynomial z m , so that all reductions can be reduced to polynomial divisions of cubic by quadratic polynomials. There are of these small divisions at each stage, leading to an algorithm for the FFT. Moreover, since all of these polynomials have purely real coefficients (until the very last stage), they automatically exploit the special case where the inputs x n are purely real to save roughly a factor of two in computation and storage. One can also take straightforward advantage of the case of real-symmetric data for computing the discrete cosine transform . \phi_{N, \alpha}(z) = \begin{cases} z^{2N} - 2 \cos (2 \pi \alpha) z^N + 1 & \text{if } 0 Note that all of the polynomials that appear in the Bruun factorization above can be written in this form. The zeroes of these polynomials are e^{2\pi i ( \pm\alpha + k ) / N} for k = 0, 1, \dots, N-1 in the \alpha \neq 0 case, and e^{2\pi i k / 2N} for k = 0, 1, \dots, 2N-1 in the \alpha = 0 case. Hence these polynomials can be recursively factorized for a factor (radix) via: \phi_{rM, \alpha}(z) = \begin{cases} \prod_{\ell=0}^{r-1} \phi_{M,(\alpha+\ell)/r} & \text{if } 0 ==References==
Cite this
"Bruun's FFT algorithm". 1762436067. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1320745047 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy