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

NAG CL Interface Introduction
Example description

nag_sum_fft_cosine (c06rfc) Example Program Results
 
 Original data values

     0.3854    0.6772    0.1138    0.6751    0.6362    0.1424    0.9562
     0.5417    0.2983    0.1181    0.7255    0.8638    0.8723    0.4936
     0.9172    0.0644    0.6037    0.6430    0.0428    0.4815    0.2057
 
 Discrete Fourier cosine transforms

     1.6833   -0.0482    0.0176    0.1368    0.3240   -0.5830   -0.0427
     1.9605   -0.4884   -0.0655    0.4444    0.0964    0.0856   -0.2289
     1.3838    0.1588   -0.0761   -0.1184    0.3512    0.5759    0.0110
 
 Original data as restored by inverse transform

     0.3854    0.6772    0.1138    0.6751    0.6362    0.1424    0.9562
     0.5417    0.2983    0.1181    0.7255    0.8638    0.8723    0.4936
     0.9172    0.0644    0.6037    0.6430    0.0428    0.4815    0.2057