126 SUBROUTINE slaqsp( UPLO, N, AP, S, SCOND, AMAX, EQUED )
134 CHARACTER EQUED, UPLO
146 parameter ( one = 1.0e+0, thresh = 0.1e+0 )
150 REAL CJ, LARGE, SMALL
155 EXTERNAL lsame, slamch
168 small = slamch(
'Safe minimum' ) / slamch(
'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 slaqsp(UPLO, N, AP, S, SCOND, AMAX, EQUED)
SLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppeq...