132 SUBROUTINE dlaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
139 CHARACTER EQUED, UPLO
141 DOUBLE PRECISION AMAX, SCOND
144 DOUBLE PRECISION A( LDA, * ), S( * )
150 DOUBLE PRECISION ONE, THRESH
151 parameter( one = 1.0d+0, thresh = 0.1d+0 )
155 DOUBLE PRECISION CJ, LARGE, SMALL
159 DOUBLE PRECISION DLAMCH
160 EXTERNAL lsame, dlamch
173 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
176 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
185 IF( lsame( uplo,
'U' ) )
THEN
192 a( i, j ) = cj*s( i )*a( i, j )
202 a( i, j ) = cj*s( i )*a( i, j )
subroutine dlaqsy(uplo, n, a, lda, s, scond, amax, equed)
DLAQSY scales a symmetric/Hermitian matrix, using scaling factors computed by spoequ.