124 SUBROUTINE dlaqsp( UPLO, N, AP, S, SCOND, AMAX, EQUED )
131 CHARACTER EQUED, UPLO
133 DOUBLE PRECISION AMAX, SCOND
136 DOUBLE PRECISION AP( * ), S( * )
142 DOUBLE PRECISION ONE, THRESH
143 parameter( one = 1.0d+0, thresh = 0.1d+0 )
147 DOUBLE PRECISION CJ, LARGE, SMALL
151 DOUBLE PRECISION DLAMCH
152 EXTERNAL lsame, dlamch
165 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
168 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
177 IF( lsame( uplo,
'U' ) )
THEN
185 ap( jc+i-1 ) = cj*s( i )*ap( jc+i-1 )
197 ap( jc+i-j ) = cj*s( i )*ap( jc+i-j )
subroutine dlaqsp(uplo, n, ap, s, scond, amax, equed)
DLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppeq...