131 SUBROUTINE zlaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
138 CHARACTER EQUED, UPLO
140 DOUBLE PRECISION AMAX, SCOND
143 DOUBLE PRECISION S( * )
144 COMPLEX*16 A( LDA, * )
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 zlaqsy(uplo, n, a, lda, s, scond, amax, equed)
ZLAQSY scales a symmetric/Hermitian matrix, using scaling factors computed by spoequ.