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

NAG FL Interface Introduction
Example description

 C06PYF Example Program Results

 Original data values

 x(i,j,k) for i =     1

 Real      1.541     0.161     1.989     0.037

 Real      0.346     1.907     0.001     1.915

 Real      1.754     0.042     1.991     0.151

 x(i,j,k) for i =     2

 Real      0.584     1.004     1.408     0.252

 Real      1.284     1.137     0.467     1.834

 Real      0.855     0.725     1.647     0.096

 x(i,j,k) for i =     3

 Real      0.010     1.844     0.452     1.154

 Real      1.960     0.240     1.424     0.987

 Real      0.089     1.660     0.708     0.872

 Components of discrete Fourier transform

 y(i,j,k) for i =     1

 Real      5.755    -0.277     0.415    -0.277
 Imag      0.000    -0.237     0.000     0.237

 Real     -0.268     0.109     0.175    -0.688
 Imag     -0.420    -0.756     0.871    -0.210

 Real     -0.268    -0.688     0.175     0.109
 Imag      0.420     0.210    -0.871     0.756

 y(i,j,k) for i =     2

 Real      0.081     0.060     0.645     0.047
 Imag      0.015     0.156    -0.478    -0.077

 Real      0.038    -0.275     1.585     0.201
 Imag      0.198     0.295     0.616     0.061

 Real      0.067     0.280    -0.113    -0.128
 Imag     -0.122     0.012    -1.555    -0.117

 Original sequence as restored by inverse transform

 x(i,j,k) for i =     1

 Real      1.541     0.161     1.989     0.037

 Real      0.346     1.907     0.001     1.915

 Real      1.754     0.042     1.991     0.151

 x(i,j,k) for i =     2

 Real      0.584     1.004     1.408     0.252

 Real      1.284     1.137     0.467     1.834

 Real      0.855     0.725     1.647     0.096

 x(i,j,k) for i =     3

 Real      0.010     1.844     0.452     1.154

 Real      1.960     0.240     1.424     0.987

 Real      0.089     1.660     0.708     0.872