168 SUBROUTINE dsytri_3( UPLO, N, A, LDA, E, IPIV, WORK, LWORK,
177 INTEGER INFO, LDA, LWORK, N
181 DOUBLE PRECISION 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,
'DSYTRI_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(
'DSYTRI_3', -info )
227 ELSE IF( lquery )
THEN
237 CALL dsytri_3x( uplo, n, a, lda, e, ipiv, work, nb, info )
subroutine xerbla(srname, info)
subroutine dsytri_3(uplo, n, a, lda, e, ipiv, work, lwork, info)
DSYTRI_3
subroutine dsytri_3x(uplo, n, a, lda, e, ipiv, work, nb, info)
DSYTRI_3X