137 SUBROUTINE zsycon_rook( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
147 DOUBLE PRECISION ANORM, RCOND
151 COMPLEX*16 A( LDA, * ), WORK( * )
157 DOUBLE PRECISION ONE, ZERO
158 parameter( one = 1.0d+0, zero = 0.0d+0 )
160 parameter( czero = ( 0.0d+0, 0.0d+0 ) )
165 DOUBLE PRECISION AINVNM
185 upper = lsame( uplo,
'U' )
186 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
188 ELSE IF( n.LT.0 )
THEN
190 ELSE IF( lda.LT.max( 1, n ) )
THEN
192 ELSE IF( anorm.LT.zero )
THEN
196 CALL xerbla(
'ZSYCON_ROOK', -info )
206 ELSE IF( anorm.LE.zero )
THEN
217 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.czero )
225 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.czero )
234 CALL zlacn2( n, work( n+1 ), work, ainvnm, kase, isave )
239 CALL zsytrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
246 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(srname, info)
subroutine zsycon_rook(uplo, n, a, lda, ipiv, anorm, rcond, work, info)
ZSYCON_ROOK
subroutine zsytrs_rook(uplo, n, nrhs, a, lda, ipiv, b, ldb, info)
ZSYTRS_ROOK
subroutine zlacn2(n, v, x, est, kase, isave)
ZLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...