96 SUBROUTINE srotm(N,SX,INCX,SY,INCY,SPARAM)
106 REAL SPARAM(5),SX(*),SY(*)
112 REAL SFLAG,SH11,SH12,SH21,SH22,TWO,W,Z,ZERO
113 INTEGER I,KX,KY,NSTEPS
116 DATA zero,two/0.e0,2.e0/
120 IF (n.LE.0 .OR. (sflag+two.EQ.zero))
RETURN
121 IF (incx.EQ.incy.AND.incx.GT.0)
THEN
124 IF (sflag.LT.zero)
THEN
132 sx(i) = w*sh11 + z*sh12
133 sy(i) = w*sh21 + z*sh22
135 ELSE IF (sflag.EQ.zero)
THEN
157 IF (incx.LT.0) kx = 1 + (1-n)*incx
158 IF (incy.LT.0) ky = 1 + (1-n)*incy
160 IF (sflag.LT.zero)
THEN
168 sx(kx) = w*sh11 + z*sh12
169 sy(ky) = w*sh21 + z*sh22
173 ELSE IF (sflag.EQ.zero)
THEN
subroutine srotm(n, sx, incx, sy, incy, sparam)
SROTM