1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE SINTMF
(LOT
, JUMP
, N
, INC
, X
, LENX
, WSAVE
, LENSAV
,
13 INTEGER LOT
, JUMP
, N
, INC
, LENX
, LENSAV
, LENWRK
, IER
14 REAL X
(INC
,*), WSAVE
(LENSAV
), WORK
(LENWRK
)
19 IF (LENX
.LT
. (LOT
-1)*JUMP
+ INC*
(N
-1) + 1) THEN
21 CALL XERFFT
('SINTMF', 6)
23 ELSEIF
(LENSAV
.LT
. N
/2 + N
+ INT
(LOG
(REAL(N
))/LOG
(2.)) +4) THEN
25 CALL XERFFT
('SINTMF', 8)
27 ELSEIF
(LENWRK
.LT
. LOT*
(2*N
+4)) THEN
29 CALL XERFFT
('SINTMF', 10)
31 ELSEIF
(.NOT
. XERCON
(INC
,JUMP
,N
,LOT
)) THEN
33 CALL XERFFT
('SINTMF', -1)
39 CALL MSNTF1
(LOT
,JUMP
,N
,INC
,X
,WSAVE
,WORK
,WORK
(IW1
),WORK
(IW2
),IER1
)
42 CALL XERFFT
('SINTMF',-5)