128 SUBROUTINE dspr(UPLO,N,ALPHA,X,INCX,AP)
136 DOUBLE PRECISION ALPHA
141 DOUBLE PRECISION AP(*),X(*)
147 DOUBLE PRECISION ZERO
148 parameter(zero=0.0d+0)
151 DOUBLE PRECISION TEMP
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 dspr(UPLO, N, ALPHA, X, INCX, AP)
DSPR