168 SUBROUTINE zhetri_3( UPLO, N, A, LDA, E, IPIV, WORK, LWORK,
177 INTEGER INFO, LDA, LWORK, N
181 COMPLEX*16 A( LDA, * ), E( * ), WORK( * )
187 LOGICAL UPPER, LQUERY
193 EXTERNAL lsame, ilaenv
206 upper = lsame( uplo,
'U' )
207 lquery = ( lwork.EQ.-1 )
211 nb = max( 1, ilaenv( 1,
'ZHETRI_3', uplo, n, -1, -1, -1 ) )
212 lwkopt = ( n+nb+1 ) * ( nb+3 )
214 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
216 ELSE IF( n.LT.0 )
THEN
218 ELSE IF( lda.LT.max( 1, n ) )
THEN
220 ELSE IF ( lwork .LT. lwkopt .AND. .NOT.lquery )
THEN
225 CALL xerbla(
'ZHETRI_3', -info )
227 ELSE IF( lquery )
THEN
237 CALL zhetri_3x( uplo, n, a, lda, e, ipiv, work, nb, info )
subroutine xerbla(srname, info)
subroutine zhetri_3(uplo, n, a, lda, e, ipiv, work, lwork, info)
ZHETRI_3
subroutine zhetri_3x(uplo, n, a, lda, e, ipiv, work, nb, info)
ZHETRI_3X