1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE SINQMB
(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
('SINQMB', 6)
22 ELSEIF
(LENSAV
.LT
. 2*N
+ INT
(LOG
(REAL(N
))/LOG
(2.)) +4) THEN
24 CALL XERFFT
('SINQMB', 8)
25 ELSEIF
(LENWRK
.LT
. LOT*N
) THEN
27 CALL XERFFT
('SINQMB', 10)
28 ELSEIF
(.NOT
. XERCON
(INC
,JUMP
,N
,LOT
)) THEN
30 CALL XERFFT
('SINQMB', -1)
34 IF (N
.GT
. 1) GO TO 101
45 CALL COSQMB
(LOT
,JUMP
,N
,INC
,X
,LENX
,WSAVE
,LENSAV
,WORK
,LENWRK
,IER1
)
48 CALL XERFFT
('SINQMB',-5)