/* Factored discrete Fourier transform, or FFT, and its inverse iFFT */ #include #include #include #include #define q 3 /* for 2^3 points */ #define N (1<1) { /* otherwise, do nothing and return */ int k,m; complex z, w, *vo, *ve; ve = tmp; vo = tmp+n/2; for(k=0; k1) { /* otherwise, do nothing and return */ int k,m; complex z, w, *vo, *ve; ve = tmp; vo = tmp+n/2; for(k=0; k