DCL:MATH2:FFTLIB: Fast Fourier Transformation: Explanation of Subroutines
Performs cosine transformation only on even wavenumber components: COSQI initializes; COSQF performs forward cosine transformation; and COSQB performs inverse cosine transformation.
Forward transformation is defined as follows:
Inverse transformation is defined as follows:
CALL COSQI(N,WSAVE)
CALL COSQF(N,R,WSAVE)
CALL COSQB(N,R,WSAVE)
N (I) Length of data to process. WSAVE (R) Working array. Must have length of at least 3N+15. R (R) Floating-point array to process. It is both the input and output parameter. (See above definition.)