53 SUBROUTINE daxpy(N,DA,DX,INCX,DY,INCY)
65 DOUBLE PRECISION dx(*),dy(*)
77 IF (da.EQ.0.0d0) return
78 IF (incx.EQ.1 .AND. incy.EQ.1)
THEN
88 dy(i) = dy(i) + da*dx(i)
94 dy(i) = dy(i) + da*dx(i)
95 dy(i+1) = dy(i+1) + da*dx(i+1)
96 dy(i+2) = dy(i+2) + da*dx(i+2)
97 dy(i+3) = dy(i+3) + da*dx(i+3)
106 IF (incx.LT.0) ix = (-n+1)*incx + 1
107 IF (incy.LT.0) iy = (-n+1)*incy + 1
109 dy(iy) = dy(iy) + da*dx(ix)