139 $ capply, info, work, rwork )
149 INTEGER n, lda, ldaf, info
153 COMPLEX a( lda, * ), af( ldaf, * ), work( * )
154 REAL c( * ), rwork( * )
161 REAL ainvnm, anorm, tmp
183 cabs1( zdum ) = abs(
REAL( ZDUM ) ) + abs( aimag( zdum ) )
190 upper =
lsame( uplo,
'U' )
191 IF( .NOT.upper .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
193 ELSE IF( n.LT.0 )
THEN
195 ELSE IF( lda.LT.max( 1, n ) )
THEN
197 ELSE IF( ldaf.LT.max( 1, n ) )
THEN
201 CALL
xerbla(
'CLA_SYRCOND_C', -info )
205 IF (
lsame( uplo,
'U' ) ) up = .true.
215 tmp = tmp + cabs1( a( j, i ) ) / c( j )
218 tmp = tmp + cabs1( a( i, j ) ) / c( j )
222 tmp = tmp + cabs1( a( j, i ) )
225 tmp = tmp + cabs1( a( i, j ) )
229 anorm = max( anorm, tmp )
236 tmp = tmp + cabs1( a( i, j ) ) / c( j )
239 tmp = tmp + cabs1( a( j, i ) ) / c( j )
243 tmp = tmp + cabs1( a( i, j ) )
246 tmp = tmp + cabs1( a( j, i ) )
250 anorm = max( anorm, tmp )
259 ELSE IF( anorm .EQ. 0.0e+0 )
THEN
269 CALL
clacn2( n, work( n+1 ), work, ainvnm, kase, isave )
276 work( i ) = work( i ) * rwork( i )
280 CALL
csytrs(
'U', n, 1, af, ldaf, ipiv,
283 CALL
csytrs(
'L', n, 1, af, ldaf, ipiv,
291 work( i ) = work( i ) * c( i )
300 work( i ) = work( i ) * c( i )
305 CALL
csytrs(
'U', n, 1, af, ldaf, ipiv,
308 CALL
csytrs(
'L', n, 1, af, ldaf, ipiv,
315 work( i ) = work( i ) * rwork( i )
323 IF( ainvnm .NE. 0.0e+0 )