140 SUBROUTINE zlaqsb( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, EQUED )
147 CHARACTER EQUED, UPLO
149 DOUBLE PRECISION AMAX, SCOND
152 DOUBLE PRECISION S( * )
153 COMPLEX*16 AB( LDAB, * )
159 DOUBLE PRECISION ONE, THRESH
160 parameter( one = 1.0d+0, thresh = 0.1d+0 )
164 DOUBLE PRECISION CJ, LARGE, SMALL
168 DOUBLE PRECISION DLAMCH
169 EXTERNAL lsame, dlamch
185 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
188 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
197 IF( lsame( uplo,
'U' ) )
THEN
203 DO 10 i = max( 1, j-kd ), j
204 ab( kd+1+i-j, j ) = cj*s( i )*ab( kd+1+i-j, j )
213 DO 30 i = j, min( n, j+kd )
214 ab( 1+i-j, j ) = cj*s( i )*ab( 1+i-j, j )
subroutine zlaqsb(uplo, n, kd, ab, ldab, s, scond, amax, equed)
ZLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ.