Porting from DOT.NET in PHP/JAVASCRIPT
Based on THE FAST FOURIER TRANSFORM copyright � 1997-1999 by California Technical Publishing published with permission from Steven W Smith, www.dspguide.com GUI by logix4u , www.logix4u.net modified by logix4u, www.logix4.net Upon entry, N% contains the number of points in the DFT, REX[ ] and IMX[ ] contain the real and imaginary parts of the input. Upon return, REX[ ] and IMX[ ] contain the DFT output. All signals run from 0 to N%-1.