129     $                             info, work, rwork )
 
  137      INTEGER            n, lda, ldaf, info
 
  141      COMPLEX            a( lda, * ), af( ldaf, * ), work( * ), x( * )
 
  149      REAL               ainvnm, anorm, tmp
 
  171      cabs1( zdum ) = abs( real( zdum ) ) + abs( aimag( zdum ) )
 
  178      upper = 
lsame( uplo, 
'U' )
 
  179      IF( .NOT.upper .AND. .NOT.
lsame( uplo, 
'L' ) ) 
THEN 
  181      ELSE IF ( n.LT.0 ) 
THEN 
  183      ELSE IF( lda.LT.max( 1, n ) ) 
THEN 
  185      ELSE IF( ldaf.LT.max( 1, n ) ) 
THEN 
  189         CALL xerbla( 
'CLA_SYRCOND_X', -info )
 
  193      IF ( 
lsame( uplo, 
'U' ) ) up = .true.
 
  202               tmp = tmp + cabs1( a( j, i ) * x( j ) )
 
  205               tmp = tmp + cabs1( a( i, j ) * x( j ) )
 
  208            anorm = max( anorm, tmp )
 
  214               tmp = tmp + cabs1( a( i, j ) * x( j ) )
 
  217               tmp = tmp + cabs1( a( j, i ) * x( j ) )
 
  220            anorm = max( anorm, tmp )
 
  229      ELSE IF( anorm .EQ. 0.0e+0 ) 
THEN 
  239      CALL clacn2( n, work( n+1 ), work, ainvnm, kase, isave )
 
  246               work( i ) = work( i ) * rwork( i )
 
  250               CALL csytrs( 
'U', n, 1, af, ldaf, ipiv,
 
  253               CALL csytrs( 
'L', n, 1, af, ldaf, ipiv,
 
  260               work( i ) = work( i ) / x( i )
 
  267               work( i ) = work( i ) / x( i )
 
  271               CALL csytrs( 
'U', n, 1, af, ldaf, ipiv,
 
  274               CALL csytrs( 
'L', n, 1, af, ldaf, ipiv,
 
  281               work( i ) = work( i ) * rwork( i )
 
  289      IF( ainvnm .NE. 0.0e+0 )
 
 
subroutine csytrs(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
CSYTRS
real function cla_syrcond_x(uplo, n, a, lda, af, ldaf, ipiv, x, info, work, rwork)
CLA_SYRCOND_X computes the infinity norm condition number of op(A)*diag(x) for symmetric indefinite m...
subroutine clacn2(n, v, x, est, kase, isave)
CLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...