Routine ID: D704 | |
---|---|
Author(s): H.-H. Umstätter | Library: KERNLIB |
Submitter: | Submitted: 01.12.1981 |
Language: Fortran | Revised: |
Subroutine CFFT computes the finite Fourier transform of a complex periodic sequence, whose period n must be a power of 2. The expressions which may be computed are either the forward transform
or the unscaled inverse transform
where and are complex numbers. 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: CFFT
Usage:
CALL CFFT(A,M)
Method:
The method is based on an algorithm of Cooley, Lewis and Welch (see References), with the following modifications which reduce the overhead time for small values of M: multiplications by
are replaced by addition or subtraction, and terms of the form , are computed recursively using only square roots and divisions.
References:
Interpolation, Approximations, Linear Fitting