130 SUBROUTINE dlaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
137 CHARACTER EQUED, UPLO
139 DOUBLE PRECISION AMAX, SCOND
142 DOUBLE PRECISION A( LDA, * ), S( * )
148 DOUBLE PRECISION ONE, THRESH
149 parameter( one = 1.0d+0, thresh = 0.1d+0 )
153 DOUBLE PRECISION CJ, LARGE, SMALL
157 DOUBLE PRECISION DLAMCH
158 EXTERNAL lsame, dlamch
171 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
174 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
183 IF( lsame( uplo,
'U' ) )
THEN
190 a( i, j ) = cj*s( i )*a( i, j )
200 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.