133 SUBROUTINE claqhe( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
140 CHARACTER EQUED, UPLO
153 parameter( one = 1.0e+0, thresh = 0.1e+0 )
157 REAL CJ, LARGE, SMALL
162 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 )
199 a( j, j ) = cj*cj*real( a( j, j ) )
207 a( j, j ) = cj*cj*real( a( j, j ) )
209 a( i, j ) = cj*s( i )*a( i, j )
subroutine claqhe(uplo, n, a, lda, s, scond, amax, equed)
CLAQHE scales a Hermitian matrix.