Rename *ll* and *ul* to ll and ul in in-interval
[maxima.git] / share / fftpack5 / fortran / sint1f.f
blob252cac3b43b7e77b7a833fe4e829290a05db237d
1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
3 C FFTPACK 5.0
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
7 C $Id$
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE SINT1F ( N, INC, X, LENX, WSAVE, LENSAV,
12 1 WORK, LENWRK, IER)
13 INTEGER N, INC, LENX, LENSAV, LENWRK, IER
14 REAL X(INC,*), WSAVE(LENSAV), WORK(LENWRK)
16 IER = 0
17 IF (LENX .LT. INC*(N-1) + 1) THEN
18 IER = 1
19 CALL XERFFT ('SINT1F', 6)
20 GO TO 100
21 ELSEIF (LENSAV .LT. N/2 + N + INT(LOG(REAL(N))/LOG(2.)) +4) THEN
22 IER = 2
23 CALL XERFFT ('SINT1F', 8)
24 GO TO 100
25 ELSEIF (LENWRK .LT. (2*N+2)) THEN
26 IER = 3
27 CALL XERFFT ('SINT1F', 10)
28 GO TO 100
29 ENDIF
31 CALL SINTF1(N,INC,X,WSAVE,WORK,WORK(N+2),IER1)
32 IF (IER1 .NE. 0) THEN
33 IER = 20
34 CALL XERFFT ('SINT1F',-5)
35 ENDIF
36 100 CONTINUE
37 RETURN
38 END