158 SUBROUTINE claqgb( M, N, KL, KU, AB, LDAB, R, C, ROWCND, COLCND,
167 INTEGER KL, KU, LDAB, M, N
168 REAL AMAX, COLCND, ROWCND
172 COMPLEX AB( LDAB, * )
179 parameter( one = 1.0e+0, thresh = 0.1e+0 )
183 REAL CJ, LARGE, SMALL
196 IF( m.LE.0 .OR. n.LE.0 )
THEN
203 small = slamch(
'Safe minimum' ) / slamch(
'Precision' )
206 IF( rowcnd.GE.thresh .AND. amax.GE.small .AND. amax.LE.large )
211 IF( colcnd.GE.thresh )
THEN
222 DO 10 i = max( 1, j-ku ), min( m, j+kl )
223 ab( ku+1+i-j, j ) = cj*ab( ku+1+i-j, j )
228 ELSE IF( colcnd.GE.thresh )
THEN
233 DO 30 i = max( 1, j-ku ), min( m, j+kl )
234 ab( ku+1+i-j, j ) = r( i )*ab( ku+1+i-j, j )
244 DO 50 i = max( 1, j-ku ), min( m, j+kl )
245 ab( ku+1+i-j, j ) = cj*r( i )*ab( ku+1+i-j, j )
subroutine claqgb(m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax, equed)
CLAQGB scales a general band matrix, using row and column scaling factors computed by sgbequ.