#include #include #include "fftserver.h" #include "nobjmgr.h" extern "C" { void tfft(vector& args); } int main(int narg, char* arg) { vector a; string str = "nopiapp"; a.push_back(str); cout << "Appel de tfft ( " << a[0] << " ) " << endl; tfft(a); exit(0); } void tfft(vector& args) { int num=30; double tper = 2./num; /* Vector* inp = new Vector(num); Vector* outp = new Vector(num); Vector& in = (*inp); Vector& out = (*outp);*/ complex* in = new complex[num]; for (int i=0; i (cos(i*3.141596*tper),cos(3.*i*3.141596*tper));} cout << "Input / L = " << num << endl; for (int i=0; i