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 a Mathematica notebook 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 use the Xcode IDE; on a Windows platforms, I use the GNU Cygwin toolset for command line compiling and debugging; and on Unix systems, including Mac OS X, I use the built-in gcc compiler and gdb debugger. For online C++ language tutorials, books and references, see links to C++ documentation.

References


Copyright © 2005-2009 by Sean Erik O'Connor. All Rights Reserved.     last updated 23 May 09.