Click here to Skip to main content
Click here to Skip to main content


, 25 Apr 2002 BSD
Rate this:
Please Sign up or sign in to vote.
A C# complex number and FFT library.
Online Documentation
Included Library Demos
Source Code and Binaries Downloads
Change Log


  • Single and double precision complex number structs
  • 1D, 2D and 3D complex fast Fourier transform functions
  • 1D real symmetric fast Fourier transform function
  • Statistical functions for complex data sets (i.e. mean, variance, std. dev., RMS, etc...)
  • Optimized for speed

Online Documentation

Click here to browse the full contents of the library in MSDN style format.  Much thanks goes out to the creators of NDoc -- it was used to generate all the documentation files for this lbrary.

Included Library Demos

Image Filtering Sample

Shows how to convert an image from a spatial representation (i.e. picture on the left) to a frequency representation (picture on the right) using a 2D fast Fourier transform.

Mandelbrot Generator

Just shows how to use the complex number structs to calculate the classic Mandelbrot fractal around zero.  Pretty simple but still nice to look at.

 Source Code and Binaries Downloads

Complete Source Code (95 KB)
Includes all source, docs, binaries and demos for this library.

Demo Installer (101 KB)
NOTE: Installer requires that you have already installed Microsoft .NET Framework v1.0.  If you don't yet have it you can download it here.


Regular updates can be found here.

Change Log

  • March 8, 2002 - Initial Release
  • March 20, 2002 - Added the 2 demo applications
  • March 22, 2002 - Added ComplexStats class
  • March 27, 2002 - Updated webpage design


This article, along with any associated source code and files, is licensed under The BSD License


About the Author

Ben Houston
Web Developer
Canada Canada
No Biography provided

Comments and Discussions

QuestionCompact Framework error PinmemberOxcarz12-Jan-09 22:59 
Questionextract pitch from a wav? PinmemberOxcarz27-Dec-08 23:17 
GeneralComplex Conjugate FFT PinmemberFerry Mulyono28-Feb-07 21:11 
First of all, I just want to say, nice article =)

I read some papers around image processing, which uses DFT. There are also some formula that uses complex-conjugate of DFT (invert the negative sign in the imaginary part of DFT formula).
I was wondering can your library do that? If not, how can I modify it?

Thanks before hand

"If Mohammed won't go to the mountain, then the mountain must go to Mohammed" - Gil Grissom, CSI

GeneralLicense PinmemberJonas Beckeman2-Jan-07 17:28 
GeneralProblems with backward transformation PinmemberComCoderCsharp27-Dec-06 4:32 
GeneralRe: Problems with backward transformation Pinmemberdssdss2-Mar-11 12:44 
GeneralRe: Problems with backward transformation PinmemberJoe Best13-Aug-13 6:15 
General- operator [modified] Pinmemberalisherr10-Nov-06 14:03 
GeneralFFT 1D PinmemberKenneth198525-Apr-06 9:01 
GeneralRe: FFT 1D Pinmembercbranje18-May-06 4:40 
GeneralIndex was outside the bounds of the array problem Pinmemberchristof.k27-Feb-06 23:11 
GeneralRe: Index was outside the bounds of the array problem PinmemberHansPfaff27-Jul-10 22:47 
GeneralRe: Index was outside the bounds of the array problem Pinmemberjinguman15-Feb-11 20:12 
GeneralHard-coded data length limit PinmemberMalcolm_Sharpe23-Sep-04 16:22 
GeneralRe: Hard-coded data length limit PinmemberLaurence Bunnage19-Apr-06 3:14 
GeneralRe: Hard-coded data length limit Pinmembermelchizedek18-Oct-07 6:55 
Questionoperator- problem? PinmemberVigrid21-May-03 13:46 
AnswerRe: operator- problem? PinsussBen_Houston21-May-03 13:53 
GeneralRe: operator- problem? PinmemberVigrid21-May-03 15:10 
GeneralSpeed Pinmemberokigan9-Oct-02 14:25 
GeneralRe: Speed PinmemberChristian Graus29-Mar-05 18:55 
GeneralRe: Speed Pinmemberokigan29-Mar-05 21:15 
GeneralRe: Speed PinmemberBen Houston30-Mar-05 6:15 
GeneralRe: Speed PinmemberChristian Graus30-Mar-05 13:02 
GeneralNOTE: Use Alternative Source Download - bug in local copy PinmemberBen Houston20-May-02 13:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150414.1 | Last Updated 26 Apr 2002
Article Copyright 2002 by Ben Houston
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid