126 SUBROUTINE dlaqsp( UPLO, N, AP, S, SCOND, AMAX, EQUED )
134 CHARACTER EQUED, UPLO
136 DOUBLE PRECISION AMAX, SCOND
139 DOUBLE PRECISION AP( * ), S( * )
145 DOUBLE PRECISION ONE, THRESH
146 parameter ( one = 1.0d+0, thresh = 0.1d+0 )
150 DOUBLE PRECISION CJ, LARGE, SMALL
154 DOUBLE PRECISION DLAMCH
155 EXTERNAL lsame, dlamch
168 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
171 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
180 IF( lsame( uplo,
'U' ) )
THEN
188 ap( jc+i-1 ) = cj*s( i )*ap( jc+i-1 )
200 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...