106 REAL FUNCTION cla_porpvgrw( UPLO, NCOLS, A, LDA, AF, LDAF, WORK )
115 INTEGER NCOLS, LDA, LDAF
118 COMPLEX A( lda, * ), AF( ldaf, * )
126 REAL AMAX, UMAX, RPVGRW
135 INTRINSIC abs, max, min,
REAL, AIMAG
141 cabs1( zdum ) = abs(
REAL( ZDUM ) ) + abs( AIMAG( zdum ) )
144 upper = lsame(
'Upper', uplo )
161 $ max( cabs1( a( i, j ) ), work( ncols+j ) )
168 $ max( cabs1( a( i, j ) ), work( ncols+j ) )
176 IF ( lsame(
'Upper', uplo ) )
THEN
179 work( j ) = max( cabs1( af( i, j ) ), work( j ) )
185 work( j ) = max( cabs1( af( i, j ) ), work( j ) )
197 IF ( lsame(
'Upper', uplo ) )
THEN
200 amax = work( ncols+i )
201 IF ( umax /= 0.0 )
THEN
202 rpvgrw = min( amax / umax, rpvgrw )
208 amax = work( ncols+i )
209 IF ( umax /= 0.0 )
THEN
210 rpvgrw = min( amax / umax, rpvgrw )
subroutine claset(UPLO, M, N, ALPHA, BETA, A, LDA)
CLASET initializes the off-diagonal elements and the diagonal elements of a matrix to given values...
real function cla_porpvgrw(UPLO, NCOLS, A, LDA, AF, LDAF, WORK)
CLA_PORPVGRW computes the reciprocal pivot growth factor norm(A)/norm(U) for a symmetric or Hermitian...
logical function lsame(CA, CB)
LSAME