141 SUBROUTINE dlaqsb( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, EQUED )
149 CHARACTER EQUED, UPLO
151 DOUBLE PRECISION AMAX, SCOND
154 DOUBLE PRECISION AB( ldab, * ), S( * )
160 DOUBLE PRECISION ONE, THRESH
161 parameter ( one = 1.0d+0, thresh = 0.1d+0 )
165 DOUBLE PRECISION CJ, LARGE, SMALL
169 DOUBLE PRECISION DLAMCH
170 EXTERNAL lsame, dlamch
186 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
189 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
198 IF( lsame( uplo,
'U' ) )
THEN
204 DO 10 i = max( 1, j-kd ), j
205 ab( kd+1+i-j, j ) = cj*s( i )*ab( kd+1+i-j, j )
214 DO 30 i = j, min( n, j+kd )
215 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...