From 69ff96a4994120f711035b8b29dc338dda14a854 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 22 Sep 2008 12:50:44 +0000 Subject: added zfftma and the tests related to , but one of them fails ( zffmaTest16) --- src/signalProcessing/fft/fft_internal.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/signalProcessing/fft/fft_internal.h') diff --git a/src/signalProcessing/fft/fft_internal.h b/src/signalProcessing/fft/fft_internal.h index 1b374872..f230a003 100644 --- a/src/signalProcessing/fft/fft_internal.h +++ b/src/signalProcessing/fft/fft_internal.h @@ -13,6 +13,11 @@ #ifndef __FFT_INTERNAL_H__ #define __FFT_INTERNAL_H__ +#include "addition.h" +#include "subtraction.h" + +#define FORWARD 0 +#define INVERSE 1 void dfft2 ( double* a , double* b , int nseg , int n , int nspn , int isn , int ierr, double* iw , int lw ); @@ -22,12 +27,13 @@ void dfftbi ( double* a , double* b , int nseg , int n , int nspn , int isn , int ierr, int lout , int lnow , int lused ,int lmax , int lbook , double* rstak , int* istakk ); -void fft842 ( int _iDirect , int _iDimen , double* _pdblReal , double* _pdblImag , int _err ); - -void r2tx ( int _iDimen , double* _pdblReal, double* _pdblImag ); -void r4tx ( int _iDimen , double* _pdblReal, double* _pdblImag) ; -void r8tx ( int _iTempDimen , int _iDimen , int _iLengt , double* _pdblReal, double* _pdblImag ); +void fft842 (doubleComplex* b, int size , int in); +void r2tx(int nthpo, doubleComplex* c0, doubleComplex* c1); +void r4tx( int nthpo, doubleComplex* c0, doubleComplex* c1, doubleComplex* c2, doubleComplex* c3); +void r8tx ( int nxtlt,int nthpo,int lengt, + doubleComplex* cc0,doubleComplex* cc1,doubleComplex* cc2,doubleComplex* cc3, + doubleComplex* cc4,doubleComplex* cc5,doubleComplex* cc6,doubleComplex* cc7); int dfftmx ( double* _pdblA , double* _pdblB , int _iNtot, int _iN, int _iNspan, int _iIsn, int _iM, int _iKt, double* _pdblWt, double* _pdblCk, -- cgit