Rename *ll* and *ul* to ll and ul in in-interval
[maxima.git] / share / fftpack5 / fortran / rfftmf.f
blobe3f8f9f6200b7e8e12c64da1d071502289d50a84
1 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
3 C FFTPACK 5.0
5 C Authors: Paul N. Swarztrauber and Richard A. Valent
7 C $Id$
9 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 SUBROUTINE RFFTMF (LOT, JUMP, N, INC, R, LENR, WSAVE, LENSAV,
12 1 WORK, LENWRK, IER)
13 INTEGER LOT, JUMP, N, INC, LENR, LENSAV, LENWRK, IER
14 REAL R(LENR), WSAVE(LENSAV), WORK(LENWRK)
15 LOGICAL XERCON
17 IER = 0
19 IF (LENR .LT. (LOT-1)*JUMP + INC*(N-1) + 1) THEN
20 IER = 1
21 CALL XERFFT ('RFFTMF ', 6)
22 ELSEIF (LENSAV .LT. N + INT(LOG(REAL(N))/LOG(2.)) +4) THEN
23 IER = 2
24 CALL XERFFT ('RFFTMF ', 8)
25 ELSEIF (LENWRK .LT. LOT*N) THEN
26 IER = 3
27 CALL XERFFT ('RFFTMF ', 10)
28 ELSEIF (.NOT. XERCON(INC,JUMP,N,LOT)) THEN
29 IER = 4
30 CALL XERFFT ('RFFTMF ', -1)
31 ENDIF
33 IF (N .EQ. 1) RETURN
35 CALL MRFTF1 (LOT,JUMP,N,INC,R,WORK,WSAVE,WSAVE(N+1))
36 RETURN
37 END