CFFT2D
Routine Documentation— Input: INTEGER MODE
The value of MODE on input determines the direction of transform to be performed by
CFFT2D
.
On input:
- MODE=-1 : a forward 2D transform is performed.
- MODE=1 : a backward (reverse) 2D transform is performed.
— Input: INTEGER M
On input: M is the number of rows in the 2D array of data to be transformed. If X is declared as a 2D array then M is the first dimension of X.
— Input: INTEGER N
On input: N is the number of columns in the 2D array of data to be transformed. If X is declared as a 2D array then M is the second dimension of X.
CALL CFFT2D(-1,M,N,X,COMM,INFO) DO 20 J = 1, N DO 10 I = 1, MIN(J-1,M) X(I,J) = 0.5D0*(X(I,J) + X(J,I)) X(J,I) = CONJG(X(I,J)) 10 CONTINUE 20 CONTINUE CALL CFFT2D(1,M,N,X,COMM,INFO) |