131 SUBROUTINE claqhe( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
138 CHARACTER EQUED, UPLO
151 parameter( one = 1.0e+0, thresh = 0.1e+0 )
155 REAL CJ, LARGE, SMALL
160 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 )
197 a( j, j ) = cj*cj*real( a( j, j ) )
205 a( j, j ) = cj*cj*real( a( j, j ) )
207 a( i, j ) = cj*s( i )*a( i, j )
subroutine claqhe(uplo, n, a, lda, s, scond, amax, equed)
CLAQHE scales a Hermitian matrix.