123 SUBROUTINE checon( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
137 COMPLEX A( LDA, * ), WORK( * )
144 parameter( one = 1.0e+0, zero = 0.0e+0 )
169 upper = lsame( uplo,
'U' )
170 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
172 ELSE IF( n.LT.0 )
THEN
174 ELSE IF( lda.LT.max( 1, n ) )
THEN
176 ELSE IF( anorm.LT.zero )
THEN
180 CALL xerbla(
'CHECON', -info )
190 ELSE IF( anorm.LE.zero )
THEN
201 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
209 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
218 CALL clacn2( n, work( n+1 ), work, ainvnm, kase, isave )
223 CALL chetrs( uplo, n, 1, a, lda, ipiv, work, n, info )
230 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(srname, info)
subroutine checon(uplo, n, a, lda, ipiv, anorm, rcond, work, info)
CHECON
subroutine chetrs(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
CHETRS
subroutine clacn2(n, v, x, est, kase, isave)
CLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...