Polymorphic Algorithms FFT-Implementations That Share
نویسندگان
چکیده
We denote by a polymorphic radix-n FFT an abstract algorithm scheme that is shared by all radix-n FFT algorithms, similar to the way polymorphic data types share. Given such polymorphic algorithm, particular radix-n algorithms can be obtained by specialization, thus need not be implemented separately. How to accomplish sharing between different radix-n algorithms is not obvious: for example the four major radix-2 algorithms, defining different divide-and-conquer schemes and working for different input formats, have little in common at the implementation level. At a higher level of abstraction, however, it is possible to provide a unifying framework. In this paper we introduce a polymorphic radix-n FFT, mathematically based on the Cooley-Tukey mapping, and show how to effectively realize this mapping using techniques from generic programming. Since specializations can take place entirely at compile time, their generalization does not incur any run-time overhead. We implemented the polymorphic radix-n FFT as a C++ meta-program.
منابع مشابه
Performance Models and Search Methods for Optimal FFT Implementations
This thesis considers systematic methodologies for nding optimized implementations for the fast Fourier transform (FFT). By employing rewrite rules (e.g., the CooleyTukey formula), we obtain a divide and conquer procedure (decomposition) that breaks down the initial transform into combinations of di erent smaller size sub-transforms, which are graphically represented as breakdown trees. Recursi...
متن کاملFFT Implementations on nCUBEMultiprocessorAkhilesh
Three parallel FFT algorithms have been implemented on nCUBE multi-processor and their performance have been analyzed. We have also developed a communication and computation model for the nCUBE system based on measurements. This model is then used to predict the execution time and communication time for the three FFT algorithms. These predictions have been veriied with the execution of these al...
متن کاملA class of AM-QFT algorithms for power-of-two FFT
This paper proposes a class of power-of-two FFT (Fast Fourier Transform) algorithms, called AM-QFT algorithms, that contains the improved QFT (Quick Fourier Transform), an algorithm recently published, as a special case. The main idea is to apply the Amplitude Modulation Double Sideband Suppressed Carrier (AM DSB-SC) to convert odd-indices signals into even-indices signals, and to insert this e...
متن کاملImproving the RX Anomaly Detection Algorithm for Hyperspectral Images using FFT
Anomaly Detection (AD) has recently become an important application of target detection in hyperspectral images. The Reed-Xialoi (RX) is the most widely used AD algorithm that suffers from “small sample size” problem. The best solution for this problem is to use Dimensionality Reduction (DR) techniques as a pre-processing step for RX detector. Using this method not only improves the detection p...
متن کاملFFTs in External or Hierarchical
Conventional algorithms for computing large one-dimensional fast Fourier transforms (FFTs), even those algorithms recently developed for vector and parallel computers, are largely unsuitable for systems with external or hierarchical memory. The principal reason for this is the fact that most FFT algorithms require at least m complete passes through the data set to compute a 2 m-point FFT. This ...
متن کامل