9pure subroutine pade(ni,zi,ui,no,zo,uo)
29integer,
intent(in) :: ni
30complex(8),
intent(in) :: zi(ni),ui(ni)
31integer,
intent(in) :: no
32complex(8),
intent(in) :: zo(no)
33complex(8),
intent(out) :: uo(no)
37complex(8) a0,a1,b0,b1,z1,z2
39complex(8) g(0:1,ni),gd(ni)
47 z1=(zi(j)-zi(i-1))*g(i0,j)
48 if (abs(z1%re)+abs(z1%im) > 1.d-14)
then
49 g(i1,j)=(g(i0,i-1)-g(i0,j))/z1
65 z1=(zo(i)-zi(j-1))*gd(j)
73 if ((abs(a1%re) > 1.d100).or.(abs(a1%im) > 1.d100))
then
80 if ((abs(b1%re) > 1.d100).or.(abs(b1%im) > 1.d100))
then
88 if (abs(b1%re)+abs(b1%im) > 1.d-14)
then