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

NAG FL Interface Introduction
Example description

 C06FFF Example Program Results

 Original data

 Real      1.000     0.999     0.987     0.936     0.802
 Imag      0.000    -0.040    -0.159    -0.352    -0.597

 Real      0.994     0.989     0.963     0.891     0.731
 Imag     -0.111    -0.151    -0.268    -0.454    -0.682

 Real      0.903     0.885     0.823     0.694     0.467
 Imag     -0.430    -0.466    -0.568    -0.720    -0.884

 Discrete Fourier transform of variable 2

 Real      2.113     0.288     0.126    -0.003    -0.287
 Imag     -0.513    -0.000     0.130     0.190     0.194

 Real      2.043     0.286     0.139     0.018    -0.263
 Imag     -0.745    -0.032     0.115     0.189     0.225

 Real      1.687     0.260     0.170     0.079    -0.176
 Imag     -1.372    -0.125     0.063     0.173     0.299

 Original sequence as restored by inverse transform

 Real      1.000     0.999     0.987     0.936     0.802
 Imag     -0.000    -0.040    -0.159    -0.352    -0.597

 Real      0.994     0.989     0.963     0.891     0.731
 Imag     -0.111    -0.151    -0.268    -0.454    -0.682

 Real      0.903     0.885     0.823     0.694     0.467
 Imag     -0.430    -0.466    -0.568    -0.720    -0.884