1 SUBROUTINE crati(Z, FNU, N, CY, TOL)
14 COMPLEX cdfnu, cone, cy, czero, pt, p1, p2, rz, t1, z
15 REAL ak, amagz, ap1, ap2,
arg, az, dfnu, fdnu, flam, fnu, fnup,
16 * rap1, rho,
test, test1, tol
17 INTEGER i,
id, idnu, inu, itime, k, kk, magz, n
19 DATA czero, cone / (0.0e0,0.0e0), (1.0e0,0.0e0) /
26 fnup = amax1(amagz,fdnu)
31 t1 =
cmplx(fnup,0.0e0)*rz
44 arg = (ap2+ap2)/(ap1*tol)
48 p1 = p1*
cmplx(rap1,0.0e0)
49 p2 = p2*
cmplx(rap1,0.0e0)
59 IF (ap1.LE.
test) go to 10
60 IF (itime.EQ.2) go to 20
62 flam = ak +
sqrt(ak*ak-1.0e0)
63 rho = amin1(ap2/ap1,flam)
64 test = test1*
sqrt(rho/(rho*rho-1.0e0))
70 dfnu = fnu + float(n-1)
71 cdfnu =
cmplx(dfnu,0.0e0)
73 p1 =
cmplx(1.0e0/ap2,0.0e0)
77 p1 = rz*(cdfnu+t1)*p1 + p2
81 IF (
REAL(p1).NE.0.0e0 .OR. aimag(p1).NE.0.0e0) go to 40
89 cdfnu =
cmplx(fnu,0.0e0)*rz
91 pt = cdfnu + t1*rz + cy(k+1)
92 IF (
REAL(pt).NE.0.0e0 .OR. aimag(pt).NE.0.0e0) go to 50