126 SUBROUTINE sspr(UPLO,N,ALPHA,X,INCX,AP)
145 parameter(zero=0.0e+0)
149 INTEGER I,INFO,IX,J,JX,K,KK,KX
162 IF (.NOT.lsame(uplo,
'U') .AND. .NOT.lsame(uplo,
'L'))
THEN
164 ELSE IF (n.LT.0)
THEN
166 ELSE IF (incx.EQ.0)
THEN
176 IF ((n.EQ.0) .OR. (alpha.EQ.zero))
RETURN
182 ELSE IF (incx.NE.1)
THEN
190 IF (lsame(uplo,
'U'))
THEN
196 IF (x(j).NE.zero)
THEN
200 ap(k) = ap(k) + x(i)*temp
209 IF (x(jx).NE.zero)
THEN
212 DO 30 k = kk,kk + j - 1
213 ap(k) = ap(k) + x(ix)*temp
227 IF (x(j).NE.zero)
THEN
231 ap(k) = ap(k) + x(i)*temp
240 IF (x(jx).NE.zero)
THEN
243 DO 70 k = kk,kk + n - j
244 ap(k) = ap(k) + x(ix)*temp
subroutine xerbla(srname, info)
subroutine sspr(uplo, n, alpha, x, incx, ap)
SSPR