133 SUBROUTINE zlaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
140 CHARACTER EQUED, UPLO
142 DOUBLE PRECISION AMAX, SCOND
145 DOUBLE PRECISION S( * )
146 COMPLEX*16 A( LDA, * )
152 DOUBLE PRECISION ONE, THRESH
153 parameter( one = 1.0d+0, thresh = 0.1d+0 )
157 DOUBLE PRECISION CJ, LARGE, SMALL
161 DOUBLE PRECISION DLAMCH
162 EXTERNAL lsame, dlamch
175 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
178 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
187 IF( lsame( uplo,
'U' ) )
THEN
194 a( i, j ) = cj*s( i )*a( i, j )
204 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.