134 SUBROUTINE dlaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
142 CHARACTER EQUED, UPLO
144 DOUBLE PRECISION AMAX, SCOND
147 DOUBLE PRECISION A( lda, * ), S( * )
153 DOUBLE PRECISION ONE, THRESH
154 parameter ( one = 1.0d+0, thresh = 0.1d+0 )
158 DOUBLE PRECISION CJ, LARGE, SMALL
162 DOUBLE PRECISION DLAMCH
163 EXTERNAL lsame, dlamch
176 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
179 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
188 IF( lsame( uplo,
'U' ) )
THEN
195 a( i, j ) = cj*s( i )*a( i, j )
205 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.