nag_fft_2d_complex (c06fuc) Example Program Results


m =  3  n =  5

Original data values

Real    1.0000    0.9990    0.9870    0.9360    0.8020
Imag    0.0000   -0.0400   -0.1590   -0.3520   -0.5970

Real    0.9940    0.9890    0.9630    0.8910    0.7310
Imag   -0.1110   -0.1510   -0.2680   -0.4540   -0.6820

Real    0.9030    0.8850    0.8230    0.6940    0.4670
Imag   -0.4300   -0.4660   -0.5680   -0.7200   -0.8840


Components of discrete Fourier transforms

Real    3.3731    0.4814    0.2507    0.0543   -0.4194
Imag   -1.5187   -0.0907    0.1776    0.3188    0.4145

Real    0.4565    0.0549    0.0093   -0.0217   -0.0759
Imag    0.1368    0.0317    0.0389    0.0356    0.0045

Real   -0.1705   -0.0375   -0.0423   -0.0377   -0.0022
Imag    0.4927    0.0584    0.0082   -0.0255   -0.0829


Original data as restored by inverse transform

Real    1.0000    0.9990    0.9870    0.9360    0.8020
Imag   -0.0000   -0.0400   -0.1590   -0.3520   -0.5970

Real    0.9940    0.9890    0.9630    0.8910    0.7310
Imag   -0.1110   -0.1510   -0.2680   -0.4540   -0.6820

Real    0.9030    0.8850    0.8230    0.6940    0.4670
Imag   -0.4300   -0.4660   -0.5680   -0.7200   -0.8840