142 SUBROUTINE zlaqsb( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, EQUED )
150 CHARACTER EQUED, UPLO
152 DOUBLE PRECISION AMAX, SCOND
155 DOUBLE PRECISION S( * )
156 COMPLEX*16 AB( ldab, * )
162 DOUBLE PRECISION ONE, THRESH
163 parameter ( one = 1.0d+0, thresh = 0.1d+0 )
167 DOUBLE PRECISION CJ, LARGE, SMALL
171 DOUBLE PRECISION DLAMCH
172 EXTERNAL lsame, dlamch
188 small = dlamch(
'Safe minimum' ) / dlamch(
'Precision' )
191 IF( scond.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
THEN
200 IF( lsame( uplo,
'U' ) )
THEN
206 DO 10 i = max( 1, j-kd ), j
207 ab( kd+1+i-j, j ) = cj*s( i )*ab( kd+1+i-j, j )
216 DO 30 i = j, min( n, j+kd )
217 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...