139 SUBROUTINE dlaqsb( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, EQUED )
146 CHARACTER EQUED, UPLO
148 DOUBLE PRECISION AMAX, SCOND
151 DOUBLE PRECISION AB( LDAB, * ), S( * )
157 DOUBLE PRECISION ONE, THRESH
158 parameter( one = 1.0d+0, thresh = 0.1d+0 )
162 DOUBLE PRECISION CJ, LARGE, SMALL
166 DOUBLE PRECISION DLAMCH
167 EXTERNAL lsame, dlamch
183 small = dlamch(
'Safe minimum' ) / dlamch(
'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 dlaqsb(uplo, n, kd, ab, ldab, s, scond, amax, equed)
DLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ.