1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE RFFTF1
(N
,IN
,C
,CH
,WA
,FAC
)
12 REAL CH
(*) ,C
(IN
,*) ,WA
(N
) ,FAC
(15)
26 IF (IP
.NE
. 4) GO TO 102
29 IF (NA
.NE
. 0) GO TO 101
30 CALL R1F4KF
(IDO
,L1
,C
,IN
,CH
,1,WA
(IW
),WA
(IX2
),WA
(IX3
))
32 101 CALL R1F4KF
(IDO
,L1
,CH
,1,C
,IN
,WA
(IW
),WA
(IX2
),WA
(IX3
))
34 102 IF (IP
.NE
. 2) GO TO 104
35 IF (NA
.NE
. 0) GO TO 103
36 CALL R1F2KF
(IDO
,L1
,C
,IN
,CH
,1,WA
(IW
))
38 103 CALL R1F2KF
(IDO
,L1
,CH
,1,C
,IN
,WA
(IW
))
40 104 IF (IP
.NE
. 3) GO TO 106
42 IF (NA
.NE
. 0) GO TO 105
43 CALL R1F3KF
(IDO
,L1
,C
,IN
,CH
,1,WA
(IW
),WA
(IX2
))
45 105 CALL R1F3KF
(IDO
,L1
,CH
,1,C
,IN
,WA
(IW
),WA
(IX2
))
47 106 IF (IP
.NE
. 5) GO TO 108
51 IF (NA
.NE
. 0) GO TO 107
52 CALL R1F5KF
(IDO
,L1
,C
,IN
,CH
,1,WA
(IW
),WA
(IX2
),
55 107 CALL R1F5KF
(IDO
,L1
,CH
,1,C
,IN
,WA
(IW
),WA
(IX2
),
58 108 IF (IDO
.EQ
. 1) NA
= 1-NA
59 IF (NA
.NE
. 0) GO TO 109
60 CALL R1FGKF
(IDO
,IP
,L1
,IDL1
,C
,C
,C
,IN
,CH
,CH
,1,WA
(IW
))
63 109 CALL R1FGKF
(IDO
,IP
,L1
,IDL1
,CH
,CH
,CH
,1,C
,C
,IN
,WA
(IW
))
72 IF(MODN
.NE
. 0) NL
= N
-1
73 IF (NA
.NE
. 0) GO TO 120
77 C
(1,J
+1) = TSNM*CH
(J
+1)
79 IF(MODN
.NE
. 0) RETURN
82 120 C
(1,1) = SN*C
(1,1)
85 C
(1,J
+1) = TSNM*C
(1,J
+1)
87 IF(MODN
.NE
. 0) RETURN