117 SUBROUTINE cspcon( UPLO, N, AP, IPIV, ANORM, RCOND, WORK, INFO )
130 COMPLEX AP( * ), WORK( * )
137 parameter( one = 1.0e+0, zero = 0.0e+0 )
159 upper = lsame( uplo,
'U' )
160 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
162 ELSE IF( n.LT.0 )
THEN
164 ELSE IF( anorm.LT.zero )
THEN
168 CALL xerbla(
'CSPCON', -info )
178 ELSE IF( anorm.LE.zero )
THEN
190 IF( ipiv( i ).GT.0 .AND. ap( ip ).EQ.zero )
200 IF( ipiv( i ).GT.0 .AND. ap( ip ).EQ.zero )
210 CALL clacn2( n, work( n+1 ), work, ainvnm, kase, isave )
215 CALL csptrs( uplo, n, 1, ap, ipiv, work, n, info )
222 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(srname, info)
subroutine cspcon(uplo, n, ap, ipiv, anorm, rcond, work, info)
CSPCON
subroutine csptrs(uplo, n, nrhs, ap, ipiv, b, ldb, info)
CSPTRS
subroutine clacn2(n, v, x, est, kase, isave)
CLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...