105 INTEGER I1, I2, LDA, N
108 DOUBLE PRECISION A( LDA, * )
126 upper = lsame( uplo,
'U' )
132 CALL dswap( i1-1, a(1,i1), 1, a(1,i2), 1 )
141 CALL dswap( i2-i1-1, a(i1,i1+1), lda, a(i1+1,i2), 1 )
146 $
CALL dswap( n-i2, a(i1,i2+1), lda, a(i2,i2+1), lda )
153 CALL dswap( i1-1, a(i1,1), lda, a(i2,1), lda )
162 CALL dswap( i2-i1-1, a(i1+1,i1), 1, a(i2,i1+1), lda )
167 $
CALL dswap( n-i2, a(i2+1,i1), 1, a(i2+1,i2), 1 )
subroutine dsyswapr(uplo, n, a, lda, i1, i2)
DSYSWAPR applies an elementary permutation on the rows and columns of a symmetric matrix.