Next: ZFFT1MX, Previous: ZFFT1M, Up: Multi-1D FFT
CFFT1M
Routine Documentation— Input: INTEGER MODE
The value of MODE on input determines the operation performed by
CFFT1M
.
On input:
- MODE=0 : only initializations (specific to the value of N) are performed using a default plan; this is usually followed by calls to the same routine with MODE=-1 or 1.
- MODE=-1 : forward transforms are performed. Initializations are assumed to have been performed by a prior call to
CFFT1M
.- MODE=1 : backward (reverse) transforms are performed. Initializations are assumed to have been performed by a prior call to
CFFT1M
.- MODE=-2 : (default) initializations and forward transforms are performed.
- MODE=2 : (default) initializations and backward transforms are performed.
- MODE=100 : similar to MODE=0; only initializations (specific to the value of N) are performed, but these are based on a plan that is first generated by timing a subset of all possible plans and choosing the quickest (i.e. the FFT computation was timed as fastest based on the chosen plan). The plan generation phase may take a significant amount of time depending on the value of N.
— Input/Output: COMPLEX X(N*M)
On input: X contains the M complex sequences of length N to be transformed. Element i of sequence j is stored in location i+(j-1)*N of X.
On output: X contains the transformed sequences.
CALL CFFT1M(0,1,N,X,COMM,INFO) CALL CFFT1M(-1,2,N,X,COMM,INFO) DO 10 I = 1, N X(I,3) = X(I,1)*CONJG(X(I,2)) X(I,2) = CMPLX(0.0D0,1.0D0)*X(I,2) 10 CONTINUE CALL CFFT1M(1,2,N,X(1,2),COMM,INFO) |