168 SUBROUTINE zsytri_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,
'ZSYTRI_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(
'ZSYTRI_3', -info )
227 ELSE IF( lquery )
THEN
237 CALL zsytri_3x( uplo, n, a, lda, e, ipiv, work, nb, info )
subroutine xerbla(srname, info)
subroutine zsytri_3(uplo, n, a, lda, e, ipiv, work, lwork, info)
ZSYTRI_3
subroutine zsytri_3x(uplo, n, a, lda, e, ipiv, work, nb, info)
ZSYTRI_3X