100 SUBROUTINE srotm(N,SX,INCX,SY,INCY,SPARAM)
111 REAL SPARAM(5),SX(*),SY(*)
117 REAL SFLAG,SH11,SH12,SH21,SH22,TWO,W,Z,ZERO
118 INTEGER I,KX,KY,NSTEPS
121 DATA zero,two/0.e0,2.e0/
125 IF (n.LE.0 .OR. (sflag+two.EQ.zero))
RETURN
126 IF (incx.EQ.incy.AND.incx.GT.0)
THEN
129 IF (sflag.LT.zero)
THEN
137 sx(i) = w*sh11 + z*sh12
138 sy(i) = w*sh21 + z*sh22
140 ELSE IF (sflag.EQ.zero)
THEN
162 IF (incx.LT.0) kx = 1 + (1-n)*incx
163 IF (incy.LT.0) ky = 1 + (1-n)*incy
165 IF (sflag.LT.zero)
THEN
173 sx(kx) = w*sh11 + z*sh12
174 sy(ky) = w*sh21 + z*sh22
178 ELSE IF (sflag.EQ.zero)
THEN
subroutine srotm(N, SX, INCX, SY, INCY, SPARAM)
SROTM