nag_fft_complex (c06ecc) Example Program Results

Components of discrete Fourier transform

         Real       Imag

  0    2.48361   -0.47100
  1   -0.55180    0.49684
  2   -0.36711    0.09756
  3   -0.28767   -0.05865
  4   -0.22506   -0.17477
  5   -0.14825   -0.30840
  6    0.01983   -0.56496

Original sequence as restored by inverse transform

             Original                  Restored
         Real       Imag           Real       Imag

  0    0.34907   -0.37168        0.34907   -0.37168
  1    0.54890   -0.35669        0.54890   -0.35669
  2    0.74776   -0.31175        0.74776   -0.31175
  3    0.94459   -0.23702        0.94459   -0.23702
  4    1.13850   -0.13274        1.13850   -0.13274
  5    1.32850    0.00074        1.32850    0.00074
  6    1.51370    0.16298        1.51370    0.16298