NAG Library Manual, Mark 30.2
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_sum_fft_complex_3d (c06pxc) Example Program Results

Original data values

 X(i,j,k) for k = 1
   ( 1.000, 0.000)  ( 0.994,-0.111)  ( 0.903,-0.430)
   ( 0.500, 0.500)  ( 0.494, 0.111)  ( 0.403, 0.430)

 X(i,j,k) for k = 2
   ( 0.999,-0.040)  ( 0.989,-0.151)  ( 0.885,-0.466)
   ( 0.499, 0.040)  ( 0.489, 0.151)  ( 0.385, 0.466)

 X(i,j,k) for k = 3
   ( 0.987,-0.159)  ( 0.963,-0.268)  ( 0.823,-0.568)
   ( 0.487, 0.159)  ( 0.463, 0.268)  ( 0.323, 0.568)

 X(i,j,k) for k = 4
   ( 0.936,-0.352)  ( 0.891,-0.454)  ( 0.694,-0.720)
   ( 0.436, 0.352)  ( 0.391, 0.454)  ( 0.194, 0.720)


Components of discrete Fourier transforms

 X(i,j,k) for k = 1
   ( 3.292, 0.102)  ( 0.143,-0.086)  ( 0.143, 0.290)
   ( 1.225,-1.620)  ( 0.424, 0.320)  (-0.424, 0.320)

 X(i,j,k) for k = 2
   ( 0.051,-0.042)  ( 0.016, 0.153)  (-0.050, 0.118)
   ( 0.355, 0.083)  ( 0.020,-0.115)  ( 0.007,-0.080)

 X(i,j,k) for k = 3
   ( 0.113, 0.102)  (-0.024, 0.127)  (-0.024, 0.077)
   ( 0.000, 0.162)  ( 0.013,-0.091)  (-0.013,-0.091)

 X(i,j,k) for k = 4
   ( 0.051, 0.246)  (-0.050, 0.086)  ( 0.016, 0.051)
   (-0.355, 0.083)  (-0.007,-0.080)  (-0.020,-0.115)


Original data as restored by inverse transform

 X(i,j,k) for k = 1
   ( 1.000,-0.000)  ( 0.994,-0.111)  ( 0.903,-0.430)
   ( 0.500, 0.500)  ( 0.494, 0.111)  ( 0.403, 0.430)

 X(i,j,k) for k = 2
   ( 0.999,-0.040)  ( 0.989,-0.151)  ( 0.885,-0.466)
   ( 0.499, 0.040)  ( 0.489, 0.151)  ( 0.385, 0.466)

 X(i,j,k) for k = 3
   ( 0.987,-0.159)  ( 0.963,-0.268)  ( 0.823,-0.568)
   ( 0.487, 0.159)  ( 0.463, 0.268)  ( 0.323, 0.568)

 X(i,j,k) for k = 4
   ( 0.936,-0.352)  ( 0.891,-0.454)  ( 0.694,-0.720)
   ( 0.436, 0.352)  ( 0.391, 0.454)  ( 0.194, 0.720)