123 INTEGER n, kl, ku, ncols, ldab, ldafb
126 COMPLEX*16 ab( ldab, * ), afb( ldafb, * )
133 DOUBLE PRECISION amax, umax, rpvgrw
137 INTRINSIC abs, max, min, real, dimag
140 DOUBLE PRECISION cabs1
143 cabs1( zdum ) = abs( dble( zdum ) ) + abs( dimag( 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.0d+0 )
THEN
160 rpvgrw = min( amax / umax, rpvgrw )
double precision function zla_gbrpvgrw(n, kl, ku, ncols, ab, ldab, afb, ldafb)
ZLA_GBRPVGRW computes the reciprocal pivot growth factor norm(A)/norm(U) for a general banded matrix.