129 INTEGER n, info, lda, ldaf
133 COMPLEX a( lda, * ), af( ldaf, * )
140 INTEGER ncols, i, j, k, kp
141 REAL amax, umax, rpvgrw, tmp
149 INTRINSIC abs, real, aimag, max, min
155 cabs1( zdum ) = abs( real( zdum ) ) + abs( aimag( zdum ) )
159 upper =
lsame(
'Upper', uplo )
160 IF ( info.EQ.0 )
THEN
182 work( n+i ) = max( cabs1( a( i,j ) ), work( n+i ) )
183 work( n+j ) = max( cabs1( a( i,j ) ), work( n+j ) )
189 work( n+i ) = max( cabs1( a( i, j ) ), work( n+i ) )
190 work( n+j ) = max( cabs1( a( i, j ) ), work( n+j ) )
204 DO WHILE ( k .LT. ncols .AND. k.GT.0 )
205 IF ( ipiv( k ).GT.0 )
THEN
208 IF ( kp .NE. k )
THEN
210 work( n+k ) = work( n+kp )
214 work( k ) = max( cabs1( af( i, k ) ), work( k ) )
221 work( n+k-1 ) = work( n+kp )
224 work( k ) = max( cabs1( af( i, k ) ), work( k ) )
226 $ max( cabs1( af( i, k-1 ) ), work( k-1 ) )
228 work( k ) = max( cabs1( af( k, k ) ), work( k ) )
233 DO WHILE ( k .LE. n )
234 IF ( ipiv( k ).GT.0 )
THEN
236 IF ( kp .NE. k )
THEN
238 work( n+k ) = work( n+kp )
245 work( n+k ) = work( n+kp )
252 DO WHILE ( k .LE. ncols )
253 IF ( ipiv( k ).GT.0 )
THEN
256 IF ( kp .NE. k )
THEN
258 work( n+k ) = work( n+kp )
262 work( k ) = max( cabs1( af( i, k ) ), work( k ) )
269 work( n+k+1 ) = work( n+kp )
272 work( k ) = max( cabs1( af( i, k ) ), work( k ) )
274 $ max( cabs1( af( i, k+1 ) ) , work( k+1 ) )
276 work(k) = max( cabs1( af( k, k ) ), work( k ) )
281 DO WHILE ( k .GE. 1 )
282 IF ( ipiv( k ).GT.0 )
THEN
284 IF ( kp .NE. k )
THEN
286 work( n+k ) = work( n+kp )
293 work( n+k ) = work( n+kp )
311 IF ( umax /= 0.0 )
THEN
312 rpvgrw = min( amax / umax, rpvgrw )
319 IF ( umax /= 0.0 )
THEN
320 rpvgrw = min( amax / umax, rpvgrw )
real function cla_herpvgrw(uplo, n, info, a, lda, af, ldaf, ipiv, work)
CLA_HERPVGRW