70 cout <<
"test with " << n <<
" samples" << endl;
71 cout <<
"test with frequency " << m << endl;
74 if (verbose) { cout <<
"array is filled " << endl; }
76 if (verbose) { cout <<
"processor is created " << endl; }
78 if (verbose) { cout <<
"forward transform is finished" << endl; }
79 Tseries c=fftprocessor(b, debug);
80 if (verbose) { cout <<
"backward transform is finished" << endl; }
81 cout <<
"time series:" << endl;
82 for (
int i=0; i<n ; ++i)
93 cout <<
"power spectrum:" << endl;
94 for (
int i=0; i<b.size() ; ++i)
97 cout << i <<
" " << abs(b(i)*conj(b(i))) << endl;
DRFFTWAFF::Tspectrum Tspectrum
aff::Series< Tvalue > Tseries
void fill(Tseries &a, int n, int m)