130 SUBROUTINE ssycon( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
144 INTEGER ipiv( * ), iwork( * )
145 REAL a( lda, * ), work( * )
152 parameter( one = 1.0e+0, zero = 0.0e+0 )
177 upper =
lsame( uplo,
'U' )
178 IF( .NOT.upper .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
180 ELSE IF( n.LT.0 )
THEN
182 ELSE IF( lda.LT.max( 1, n ) )
THEN
184 ELSE IF( anorm.LT.zero )
THEN
188 CALL
xerbla(
'SSYCON', -info )
198 ELSE IF( anorm.LE.zero )
THEN
209 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
217 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
226 CALL
slacn2( n, work( n+1 ), work, iwork, ainvnm, kase, isave )
231 CALL
ssytrs( uplo, n, 1, a, lda, ipiv, work, n, info )
238 $ rcond = ( one / ainvnm ) / anorm