Sin( x y ) Image Border.

FAST FOURIER TRANSFORM IN C++


Overview

Here's software which does a power of 2 FFT implemented in the C++ language. We create it as a derived class of the STL vector type.

The FFT is a discrete approximation in time of the Fourier integral. Here is an example of how it responds to a single frequency.

Features

Download

Source code and executables are distributed under the terms of the GNU General Public License Current version is 1.0

Click on the symbol Compact disk icon for source code download. to view and download the source files below.
Compact disk icon for source code download. testFFT.cpp Main unit test or demo program.
Compact disk icon for source code download. FFT.h Header file containing the class definitions.
Compact disk icon for source code download. FFT.cpp FFT implementation itself.
Compact disk icon for source code download. Test input Test case input file.
Compact disk icon for source code download. Test output Test case corresponding output file.
Compact disk icon for source code download. makefile Cygwin makefile.

Install and Run

On Mac OS X, I also use the Xcode IDE. On a Windows XP PC system, I use the GNU Cygwin toolset for command line compiling and debugging. On Unix systems, including Mac OS X, I use the built-in gcc compiler and gdb debugger. For details on the C++ language, see Bjarne Stroustrup's Page and C++ FAQ Lite and the Standard Template Library.

References


Copyright © 2005-2008 by Sean Erik O'Connor. All Rights Reserved.     last updated 02 May 08.