135 SUBROUTINE claqsy( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
143 CHARACTER EQUED, UPLO
156 parameter ( one = 1.0e+0, thresh = 0.1e+0 )
160 REAL CJ, LARGE, SMALL
165 EXTERNAL lsame, slamch
178 small = slamch(
'Safe minimum' ) / slamch(
'Precision' )
181 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
190 IF( lsame( uplo,
'U' ) )
THEN
197 a( i, j ) = cj*s( i )*a( i, j )
207 a( i, j ) = cj*s( i )*a( i, j )
subroutine claqsy(UPLO, N, A, LDA, S, SCOND, AMAX, EQUED)
CLAQSY scales a symmetric/Hermitian matrix, using scaling factors computed by spoequ.