139 SUBROUTINE zsycon_rook( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
150 DOUBLE PRECISION ANORM, RCOND
154 COMPLEX*16 A( lda, * ), WORK( * )
160 DOUBLE PRECISION ONE, ZERO
161 parameter ( one = 1.0d+0, zero = 0.0d+0 )
163 parameter ( czero = ( 0.0d+0, 0.0d+0 ) )
168 DOUBLE PRECISION AINVNM
188 upper = lsame( uplo,
'U' )
189 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
191 ELSE IF( n.LT.0 )
THEN
193 ELSE IF( lda.LT.max( 1, n ) )
THEN
195 ELSE IF( anorm.LT.zero )
THEN
199 CALL xerbla(
'ZSYCON_ROOK', -info )
209 ELSE IF( anorm.LE.zero )
THEN
220 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.czero )
228 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.czero )
237 CALL zlacn2( n, work( n+1 ), work, ainvnm, kase, isave )
242 CALL zsytrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
249 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine zlacn2(N, V, X, EST, KASE, ISAVE)
ZLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...
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