139 SUBROUTINE zhecon_rook( UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK,
150 DOUBLE PRECISION ANORM, RCOND
154 COMPLEX*16 A( lda, * ), WORK( * )
161 parameter ( one = 1.0d+0, zero = 0.0d+0 )
166 DOUBLE PRECISION AINVNM
186 upper = lsame( uplo,
'U' )
187 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
189 ELSE IF( n.LT.0 )
THEN
191 ELSE IF( lda.LT.max( 1, n ) )
THEN
193 ELSE IF( anorm.LT.zero )
THEN
197 CALL xerbla(
'ZHECON_ROOK', -info )
207 ELSE IF( anorm.LE.zero )
THEN
218 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
226 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
235 CALL zlacn2( n, work( n+1 ), work, ainvnm, kase, isave )
240 CALL zhetrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
247 $ rcond = ( one / ainvnm ) / anorm
subroutine zhecon_rook(UPLO, N, A, LDA, IPIV, ANORM, RCOND, WORK, INFO)
ZHECON_ROOK estimates the reciprocal of the condition number fort HE matrices using factorization obt...
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 zhetrs_rook(UPLO, N, NRHS, A, LDA, IPIV, B, LDB, INFO)
ZHETRS_ROOK computes the solution to a system of linear equations A * X = B for HE matrices using fac...