132 SUBROUTINE slaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
139 CHARACTER EQUED, UPLO
144 REAL A( LDA, * ), S( * )
151 parameter( one = 1.0e+0, thresh = 0.1e+0 )
155 REAL CJ, LARGE, SMALL
160 EXTERNAL lsame, slamch
173 small = slamch(
'Safe minimum' ) / slamch(
'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 slaqsy(uplo, n, a, lda, s, scond, amax, equed)
SLAQSY scales a symmetric/Hermitian matrix, using scaling factors computed by spoequ.