139 SUBROUTINE slaqsb( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, EQUED )
146 CHARACTER EQUED, UPLO
151 REAL AB( LDAB, * ), S( * )
158 parameter( one = 1.0e+0, thresh = 0.1e+0 )
162 REAL CJ, LARGE, SMALL
167 EXTERNAL lsame, slamch
183 small = slamch(
'Safe minimum' ) / slamch(
'Precision' )
186 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
195 IF( lsame( uplo,
'U' ) )
THEN
201 DO 10 i = max( 1, j-kd ), j
202 ab( kd+1+i-j, j ) = cj*s( i )*ab( kd+1+i-j, j )
211 DO 30 i = j, min( n, j+kd )
212 ab( 1+i-j, j ) = cj*s( i )*ab( 1+i-j, j )
subroutine slaqsb(uplo, n, kd, ab, ldab, s, scond, amax, equed)
SLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ.