127 SUBROUTINE zlaqhp( UPLO, N, AP, S, SCOND, AMAX, EQUED )
135 CHARACTER equed, uplo
137 DOUBLE PRECISION amax, scond
140 DOUBLE PRECISION s( * )
147 DOUBLE PRECISION one, thresh
148 parameter( one = 1.0d+0, thresh = 0.1d+0 )
152 DOUBLE PRECISION cj, large, small
173 small =
dlamch(
'Safe minimum' ) /
dlamch(
'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*dble( ap( jc+j-1 ) )
205 ap( jc ) = cj*cj*dble( ap( jc ) )
207 ap( jc+i-j ) = cj*s( i )*ap( jc+i-j )