source: Sophya/trunk/SophyaProg/Examples/fft.icc@ 3511

Last change on this file since 3511 was 3440, checked in by ansari, 18 years ago

petit nettoyage du fichier - conformite avec doc piapp.tex , Reza 13/12/2007

File size: 368 bytes
Line 
1TVector<r_8> in(4048);
2TVector<r_8> noise(4048);
3TVector< complex<r_8> > out;
4in = RegularSequence(0., 0.05);
5noise = RandomSequence(RandomSequence::Gaussian, 0., 4.);
6MathArray<r_8> ma;
7ma.ApplyFunctionInPlace(in, myf);
8in += noise;
9FFTPackServer FFTServ;
10cout << " Calling FFT " << endl;
11FFTServ.FFTForward(in, out);
12DisplayObj(in, "");
13DisplayObj(out, "red");
14
15
16
17
Note: See TracBrowser for help on using the repository browser.