146 DOUBLE PRECISION ANORM, RCOND
150 COMPLEX*16 A( LDA, * ), WORK( * )
156 DOUBLE PRECISION ONE, ZERO
157 PARAMETER ( ONE = 1.0d+0, zero = 0.0d+0 )
162 DOUBLE PRECISION AINVNM
182 upper = lsame( uplo,
'U' )
183 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
185 ELSE IF( n.LT.0 )
THEN
187 ELSE IF( lda.LT.max( 1, n ) )
THEN
189 ELSE IF( anorm.LT.zero )
THEN
193 CALL xerbla(
'ZHECON_ROOK', -info )
203 ELSE IF( anorm.LE.zero )
THEN
214 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
222 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
231 CALL zlacn2( n, work( n+1 ), work, ainvnm, kase, isave )
236 CALL zhetrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
243 $ 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 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...
subroutine zlacn2(n, v, x, est, kase, isave)
ZLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vec...