141 SUBROUTINE slaqsb( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, EQUED )
149 CHARACTER EQUED, UPLO
154 REAL AB( ldab, * ), S( * )
161 parameter ( one = 1.0e+0, thresh = 0.1e+0 )
165 REAL CJ, LARGE, SMALL
170 EXTERNAL lsame, slamch
186 small = slamch(
'Safe minimum' ) / slamch(
'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 slaqsb(UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, EQUED)
SLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ...