52 DOUBLE PRECISION FUNCTION ddot(N,DX,INCX,DY,INCY)
63 DOUBLE PRECISION DX(*),DY(*)
69 DOUBLE PRECISION DTEMP
78 IF (incx.EQ.1 .AND. incy.EQ.1)
THEN
88 dtemp = dtemp + dx(i)*dy(i)
97 dtemp = dtemp + dx(i)*dy(i) + dx(i+1)*dy(i+1) +
98 $ dx(i+2)*dy(i+2) + dx(i+3)*dy(i+3) + dx(i+4)*dy(i+4)
107 IF (incx.LT.0) ix = (-n+1)*incx + 1
108 IF (incy.LT.0) iy = (-n+1)*incy + 1
110 dtemp = dtemp + dx(ix)*dy(iy)
double precision function ddot(N, DX, INCX, DY, INCY)
DDOT