1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE RFFTMB
(LOT
, JUMP
, N
, INC
, R
, LENR
, WSAVE
, LENSAV
,
13 INTEGER LOT
, JUMP
, N
, INC
, LENR
, LENSAV
, LENWRK
, IER
14 REAL R
(LENR
), WSAVE
(LENSAV
) ,WORK
(LENWRK
)
19 IF (LENR
.LT
. (LOT
-1)*JUMP
+ INC*
(N
-1) + 1) THEN
21 CALL XERFFT
('RFFTMB ', 6)
22 ELSEIF
(LENSAV
.LT
. N
+ INT
(LOG
(REAL(N
))/LOG
(2.)) +4) THEN
24 CALL XERFFT
('RFFTMB ', 8)
25 ELSEIF
(LENWRK
.LT
. LOT*N
) THEN
27 CALL XERFFT
('RFFTMB ', 10)
28 ELSEIF
(.NOT
. XERCON
(INC
,JUMP
,N
,LOT
)) THEN
30 CALL XERFFT
('RFFTMB ', -1)
35 CALL MRFTB1
(LOT
,JUMP
,N
,INC
,R
,WORK
,WSAVE
,WSAVE
(N
+1))