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.
Source code and executables are distributed under the terms of the GNU General Public License Current version is 1.0
| Click on the symbol
|
|
|
|
Main unit test or demo program. |
|
|
Header file containing the class definitions. |
|
|
FFT implementation itself. |
|
|
Test case input file. |
|
|
Test case corresponding output file. |
|
|
Cygwin makefile. |
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.
Copyright © 2005-2008 by Sean Erik O'Connor. All Rights Reserved. last updated 25 Jul 08.