134 SUBROUTINE slaqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
142 CHARACTER EQUED, UPLO
147 REAL A( lda, * ), S( * )
154 parameter ( one = 1.0e+0, thresh = 0.1e+0 )
158 REAL CJ, LARGE, SMALL
163 EXTERNAL lsame, slamch
176 small = slamch(
'Safe minimum' ) / slamch(
'Precision' )
179 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
188 IF( lsame( uplo,
'U' ) )
THEN
195 a( i, j ) = cj*s( i )*a( i, j )
205 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.