1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE RFFT1F
( N
, INC
, R
, LENR
, WSAVE
, LENSAV
,
13 INTEGER N
, INC
, LENR
, LENSAV
, LENWRK
, IER
14 REAL R
(LENR
), WSAVE
(LENSAV
), WORK
(LENWRK
)
18 IF (LENR
.LT
. INC*
(N
-1) + 1) THEN
20 CALL XERFFT
('RFFT1F ', 6)
21 ELSEIF
(LENSAV
.LT
. N
+ INT
(LOG
(REAL(N
))/LOG
(2.)) +4) THEN
23 CALL XERFFT
('RFFT1F ', 8)
24 ELSEIF
(LENWRK
.LT
. N
) THEN
26 CALL XERFFT
('RFFT1F ', 10)
31 CALL RFFTF1
(N
,INC
,R
,WORK
,WSAVE
,WSAVE
(N
+1))