1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE SINQ1B
( N
, INC
, X
, LENX
, WSAVE
, LENSAV
,
13 INTEGER N
, INC
, LENX
, LENSAV
, LENWRK
, IER
14 REAL X
(INC
,*), WSAVE
(LENSAV
), WORK
(LENWRK
)
18 IF (LENX
.LT
. INC*
(N
-1) + 1) THEN
20 CALL XERFFT
('SINQ1B', 6)
21 ELSEIF
(LENSAV
.LT
. 2*N
+ INT
(LOG
(REAL(N
))/LOG
(2.)) +4) THEN
23 CALL XERFFT
('SINQ1B', 8)
24 ELSEIF
(LENWRK
.LT
. N
) THEN
26 CALL XERFFT
('SINQ1B', 10)
29 IF (N
.GT
. 1) GO TO 101
35 CALL COSQ1B
(N
,INC
,X
,LENX
,WSAVE
,LENSAV
,WORK
,LENWRK
,IER1
)
38 CALL XERFFT
('SINQ1B',-5)