95 SUBROUTINE drotm(N,DX,INCX,DY,INCY,DPARAM)
105 DOUBLE PRECISION DPARAM(5),DX(*),DY(*)
111 DOUBLE PRECISION DFLAG,DH11,DH12,DH21,DH22,TWO,W,Z,ZERO
112 INTEGER I,KX,KY,NSTEPS
115 DATA zero,two/0.d0,2.d0/
119 IF (n.LE.0 .OR. (dflag+two.EQ.zero))
RETURN
120 IF (incx.EQ.incy.AND.incx.GT.0)
THEN
123 IF (dflag.LT.zero)
THEN
131 dx(i) = w*dh11 + z*dh12
132 dy(i) = w*dh21 + z*dh22
134 ELSE IF (dflag.EQ.zero)
THEN
156 IF (incx.LT.0) kx = 1 + (1-n)*incx
157 IF (incy.LT.0) ky = 1 + (1-n)*incy
159 IF (dflag.LT.zero)
THEN
167 dx(kx) = w*dh11 + z*dh12
168 dy(ky) = w*dh21 + z*dh22
172 ELSE IF (dflag.EQ.zero)
THEN
subroutine drotm(n, dx, incx, dy, incy, dparam)
DROTM