128 SUBROUTINE sspr(UPLO,N,ALPHA,X,INCX,AP)
148 parameter(zero=0.0e+0)
152 INTEGER I,INFO,IX,J,JX,K,KK,KX
165 IF (.NOT.lsame(uplo,
'U') .AND. .NOT.lsame(uplo,
'L'))
THEN
167 ELSE IF (n.LT.0)
THEN
169 ELSE IF (incx.EQ.0)
THEN
179 IF ((n.EQ.0) .OR. (alpha.EQ.zero))
RETURN
185 ELSE IF (incx.NE.1)
THEN
193 IF (lsame(uplo,
'U'))
THEN
199 IF (x(j).NE.zero)
THEN
203 ap(k) = ap(k) + x(i)*temp
212 IF (x(jx).NE.zero)
THEN
215 DO 30 k = kk,kk + j - 1
216 ap(k) = ap(k) + x(ix)*temp
230 IF (x(j).NE.zero)
THEN
234 ap(k) = ap(k) + x(i)*temp
243 IF (x(jx).NE.zero)
THEN
246 DO 70 k = kk,kk + n - j
247 ap(k) = ap(k) + x(ix)*temp
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine sspr(UPLO, N, ALPHA, X, INCX, AP)
SSPR