167 SUBROUTINE dsytri_3( UPLO, N, A, LDA, E, IPIV, WORK, LWORK,
176 INTEGER INFO, LDA, LWORK, N
180 DOUBLE PRECISION A( LDA, * ), E( * ), WORK( * )
186 LOGICAL UPPER, LQUERY
192 EXTERNAL lsame, ilaenv
205 upper = lsame( uplo,
'U' )
206 lquery = ( lwork.EQ.-1 )
213 nb = max( 1, ilaenv( 1,
'DSYTRI_3', uplo, n, -1, -1, -1 ) )
214 lwkopt = ( n+nb+1 ) * ( nb+3 )
218 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
220 ELSE IF( n.LT.0 )
THEN
222 ELSE IF( lda.LT.max( 1, n ) )
THEN
224 ELSE IF( lwork.LT.lwkopt .AND. .NOT.lquery )
THEN
229 CALL xerbla(
'DSYTRI_3', -info )
231 ELSE IF( lquery )
THEN
240 CALL dsytri_3x( uplo, n, a, lda, e, ipiv, work, nb, 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