123 INTEGER n, kl, ku, ncols, ldab, ldafb
126 COMPLEX ab( ldab, * ), afb( ldafb, * )
133 REAL amax, umax, rpvgrw
137 INTRINSIC abs, max, min, real, aimag
143 cabs1( zdum ) = abs( real( zdum ) ) + abs( aimag( zdum ) )
153 DO i = max( j-ku, 1 ), min( j+kl, n )
154 amax = max( cabs1( ab( kd+i-j, j ) ), amax )
156 DO i = max( j-ku, 1 ), j
157 umax = max( cabs1( afb( kd+i-j, j ) ), umax )
159 IF ( umax /= 0.0 )
THEN
160 rpvgrw = min( amax / umax, rpvgrw )
real function cla_gbrpvgrw(n, kl, ku, ncols, ab, ldab, afb, ldafb)
CLA_GBRPVGRW computes the reciprocal pivot growth factor norm(A)/norm(U) for a general banded matrix.