127 SUBROUTINE zlaqsp( 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
156 DOUBLE PRECISION DLAMCH
157 EXTERNAL lsame, dlamch
170 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
173 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
182 IF( lsame( uplo,
'U' ) )
THEN
190 ap( jc+i-1 ) = cj*s( i )*ap( jc+i-1 )
202 ap( jc+i-j ) = cj*s( i )*ap( jc+i-j )
subroutine zlaqsp(UPLO, N, AP, S, SCOND, AMAX, EQUED)
ZLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppeq...