1
double complex function qlI4(p1,p2,p3,p4,s12,s23,
4
double precision p1,p2,p3,p4,s12,s23,m1,m2,m3,m4,mu2,newmu2
6
C pi=p(i)^2, i=1,2,3,4 are momentum squared of the external lines
7
C mi=m(i)^2 i=1,2,3,4 are masses squared of the internal lines
8
C sij=(pi+pj)^2 are external invariants
9
C mu2 is the square of the scale mu
10
C ep=-2,-1,0 chooses the coefficient in the Laurent series.
11
double precision xpi(13),scalefac
12
double complex qlI4array
14
C Uses the ordering for the routine xpi wanted by FF
15
C psq(1) lies between msq(1) and msq(2) and so on
16
C xpi(1-4) = msq(1),msq(2),msq(3),msq(4)
17
C xpi(5-8) = psq(1),psq(2),psq(3),psq(4)
19
C xpi(11) = +xpi(5)+xpi(6)+xpi(7)+xpi(8)-xpi(9)-xpi(10)
20
C xpi(12) = -xpi(5)+xpi(6)-xpi(7)+xpi(8)+xpi(9)+xpi(10)
21
C xpi(13) = +xpi(5)-xpi(6)+xpi(7)-xpi(8)+xpi(9)+xpi(10)
33
xpi(11)=+xpi(5)+xpi(6)+xpi(7)+xpi(8)-xpi(9)-xpi(10)
34
xpi(12)=-xpi(5)+xpi(6)-xpi(7)+xpi(8)+xpi(9)+xpi(10)
35
xpi(13)=+xpi(5)-xpi(6)+xpi(7)-xpi(8)+xpi(9)+xpi(10)
36
scalefac=max(abs(s12),abs(s23),abs(p1),abs(p2),abs(p3),abs(p4))
38
xpi(j)=xpi(j)/scalefac
41
qlI4=qlI4array(xpi,newmu2,ep)/scalefac**2