135 SUBROUTINE zlaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
143 CHARACTER EQUED, UPLO
145 DOUBLE PRECISION AMAX, SCOND
148 DOUBLE PRECISION S( * )
149 COMPLEX*16 A( lda, * )
155 DOUBLE PRECISION ONE, THRESH
156 parameter ( one = 1.0d+0, thresh = 0.1d+0 )
160 DOUBLE PRECISION CJ, LARGE, SMALL
164 DOUBLE PRECISION DLAMCH
165 EXTERNAL lsame, dlamch
178 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
181 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
190 IF( lsame( uplo,
'U' ) )
THEN
197 a( i, j ) = cj*s( i )*a( i, j )
207 a( i, j ) = cj*s( i )*a( i, j )
subroutine zlaqsy(UPLO, N, A, LDA, S, SCOND, AMAX, EQUED)
ZLAQSY scales a symmetric/Hermitian matrix, using scaling factors computed by spoequ.