117 SUBROUTINE zspcon( UPLO, N, AP, IPIV, ANORM, RCOND, WORK, INFO )
126 DOUBLE PRECISION ANORM, RCOND
130 COMPLEX*16 AP( * ), WORK( * )
136 DOUBLE PRECISION ONE, ZERO
137 parameter( one = 1.0d+0, zero = 0.0d+0 )
142 DOUBLE PRECISION AINVNM
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(
'ZSPCON', -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 zlacn2( n, work( n+1 ), work, ainvnm, kase, isave )
215 CALL zsptrs( uplo, n, 1, ap, ipiv, work, n, info )
222 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(srname, info)
subroutine zspcon(uplo, n, ap, ipiv, anorm, rcond, work, info)
ZSPCON
subroutine zsptrs(uplo, n, nrhs, ap, ipiv, b, ldb, info)
ZSPTRS
subroutine zlacn2(n, v, x, est, kase, isave)
ZLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...