130 SUBROUTINE slaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
137 CHARACTER EQUED, UPLO
142 REAL A( LDA, * ), S( * )
149 parameter( one = 1.0e+0, thresh = 0.1e+0 )
153 REAL CJ, LARGE, SMALL
158 EXTERNAL lsame, slamch
171 small = slamch(
'Safe minimum' ) / slamch(
'Precision' )
174 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
183 IF( lsame( uplo,
'U' ) )
THEN
190 a( i, j ) = cj*s( i )*a( i, j )
200 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.