131 SUBROUTINE dsyr(UPLO,N,ALPHA,X,INCX,A,LDA)
138 DOUBLE PRECISION ALPHA
143 DOUBLE PRECISION A(LDA,*),X(*)
149 DOUBLE PRECISION ZERO
150 parameter(zero=0.0d+0)
153 DOUBLE PRECISION TEMP
154 INTEGER I,INFO,IX,J,JX,KX
170 IF (.NOT.lsame(uplo,
'U') .AND. .NOT.lsame(uplo,
'L'))
THEN
172 ELSE IF (n.LT.0)
THEN
174 ELSE IF (incx.EQ.0)
THEN
176 ELSE IF (lda.LT.max(1,n))
THEN
186 IF ((n.EQ.0) .OR. (alpha.EQ.zero))
RETURN
192 ELSE IF (incx.NE.1)
THEN
200 IF (lsame(uplo,
'U'))
THEN
206 IF (x(j).NE.zero)
THEN
209 a(i,j) = a(i,j) + x(i)*temp
216 IF (x(jx).NE.zero)
THEN
220 a(i,j) = a(i,j) + x(ix)*temp
233 IF (x(j).NE.zero)
THEN
236 a(i,j) = a(i,j) + x(i)*temp
243 IF (x(jx).NE.zero)
THEN
247 a(i,j) = a(i,j) + x(ix)*temp
subroutine xerbla(srname, info)
subroutine dsyr(uplo, n, alpha, x, incx, a, lda)
DSYR