1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE SINT1F
( N
, INC
, X
, LENX
, WSAVE
, LENSAV
,
13 INTEGER N
, INC
, LENX
, LENSAV
, LENWRK
, IER
14 REAL X
(INC
,*), WSAVE
(LENSAV
), WORK
(LENWRK
)
17 IF (LENX
.LT
. INC*
(N
-1) + 1) THEN
19 CALL XERFFT
('SINT1F', 6)
21 ELSEIF
(LENSAV
.LT
. N
/2 + N
+ INT
(LOG
(REAL(N
))/LOG
(2.)) +4) THEN
23 CALL XERFFT
('SINT1F', 8)
25 ELSEIF
(LENWRK
.LT
. (2*N
+2)) THEN
27 CALL XERFFT
('SINT1F', 10)
31 CALL SINTF1
(N
,INC
,X
,WSAVE
,WORK
,WORK
(N
+2),IER1
)
34 CALL XERFFT
('SINT1F',-5)