152 SUBROUTINE cgbequ( M, N, KL, KU, AB, LDAB, R, C, ROWCND, COLCND,
160 INTEGER INFO, KL, KU, LDAB, M, N
161 REAL AMAX, COLCND, ROWCND
165 COMPLEX AB( LDAB, * )
172 parameter( one = 1.0e+0, zero = 0.0e+0 )
176 REAL BIGNUM, RCMAX, RCMIN, SMLNUM
187 INTRINSIC abs, aimag, max, min, real
193 cabs1( zdum ) = abs( real( zdum ) ) + abs( aimag( zdum ) )
202 ELSE IF( n.LT.0 )
THEN
204 ELSE IF( kl.LT.0 )
THEN
206 ELSE IF( ku.LT.0 )
THEN
208 ELSE IF( ldab.LT.kl+ku+1 )
THEN
212 CALL xerbla(
'CGBEQU', -info )
218 IF( m.EQ.0 .OR. n.EQ.0 )
THEN
227 smlnum = slamch(
'S' )
228 bignum = one / smlnum
240 DO 20 i = max( j-ku, 1 ), min( j+kl, m )
241 r( i ) = max( r( i ), cabs1( ab( kd+i-j, j ) ) )
250 rcmax = max( rcmax, r( i ) )
251 rcmin = min( rcmin, r( i ) )
255 IF( rcmin.EQ.zero )
THEN
260 IF( r( i ).EQ.zero )
THEN
270 r( i ) = one / min( max( r( i ), smlnum ), bignum )
275 rowcnd = max( rcmin, smlnum ) / min( rcmax, bignum )
289 DO 80 i = max( j-ku, 1 ), min( j+kl, m )
290 c( j ) = max( c( j ), cabs1( ab( kd+i-j, j ) )*r( i ) )
299 rcmin = min( rcmin, c( j ) )
300 rcmax = max( rcmax, c( j ) )
303 IF( rcmin.EQ.zero )
THEN
308 IF( c( j ).EQ.zero )
THEN
318 c( j ) = one / min( max( c( j ), smlnum ), bignum )
323 colcnd = max( rcmin, smlnum ) / min( rcmax, bignum )
subroutine xerbla(srname, info)
subroutine cgbequ(m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax, info)
CGBEQU