127 SUBROUTINE claqhp( UPLO, N, AP, S, SCOND, AMAX, EQUED )
135 CHARACTER EQUED, UPLO
148 parameter ( one = 1.0e+0, thresh = 0.1e+0 )
152 REAL CJ, LARGE, SMALL
157 EXTERNAL lsame, slamch
173 small = slamch(
'Safe minimum' ) / slamch(
'Precision' )
176 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
185 IF( lsame( uplo,
'U' ) )
THEN
193 ap( jc+i-1 ) = cj*s( i )*ap( jc+i-1 )
195 ap( jc+j-1 ) = cj*cj*
REAL( AP( JC+J-1 ) )
205 ap( jc ) = cj*cj*
REAL( AP( JC ) )
207 ap( jc+i-j ) = cj*s( i )*ap( jc+i-j )
subroutine claqhp(UPLO, N, AP, S, SCOND, AMAX, EQUED)
CLAQHP scales a Hermitian matrix stored in packed form.