Author(s): K.S. Kölbig, H.-H. Umstätter | Library: MATHLIB |
Submitter: | Submitted: 22.04.1996 |
Language: Fortran | Revised: |
Subroutine CFSTFT calculates the finite Fourier transform of a complex periodic sequence , whose period n must be a power of two. Either the direct transform
or the unscaled inverse transform
where and are complex numbers, may be calculated.
If the in (2) have the values defined by (1), then . To ensure optimum use of storage, the same array is used for input and output, and all intermediate calculations are carried out in this array.
Structure:
SUBROUTINE subprogram
User Entry Names: CFSTFT
Usage:
CALL CFSTFT(M,A)
Method:
The method is based on an algorithm of Cooley, Lewis and Welch (see References), with the following modifications which increase speed for small values of M: multiplications by are replaced by addition or subtraction, and terms of the form are calculated recursively using only square roots and divisions.
References: