107 INTEGER I1, I2, LDA, N
110 DOUBLE PRECISION A( LDA, * )
128 upper = lsame( uplo,
'U' )
134 CALL dswap( i1-1, a(1,i1), 1, a(1,i2), 1 )
143 CALL dswap( i2-i1-1, a(i1,i1+1), lda, a(i1+1,i2), 1 )
148 $
CALL dswap( n-i2, a(i1,i2+1), lda, a(i2,i2+1), lda )
155 CALL dswap( i1-1, a(i1,1), lda, a(i2,1), lda )
164 CALL dswap( i2-i1-1, a(i1+1,i1), 1, a(i2,i1+1), lda )
169 $
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.
subroutine dswap(n, dx, incx, dy, incy)
DSWAP