137 SUBROUTINE zhecon_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 )
163 DOUBLE PRECISION AINVNM
183 upper = lsame( uplo,
'U' )
184 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
186 ELSE IF( n.LT.0 )
THEN
188 ELSE IF( lda.LT.max( 1, n ) )
THEN
190 ELSE IF( anorm.LT.zero )
THEN
194 CALL xerbla(
'ZHECON_ROOK', -info )
204 ELSE IF( anorm.LE.zero )
THEN
215 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
223 IF( ipiv( i ).GT.0 .AND. a( i, i ).EQ.zero )
232 CALL zlacn2( n, work( n+1 ), work, ainvnm, kase, isave )
237 CALL zhetrs_rook( uplo, n, 1, a, lda, ipiv, work, n, info )
244 $ rcond = ( one / ainvnm ) / anorm
subroutine xerbla(srname, info)
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...