version 1.12, 2017/06/17 10:54:05
|
version 1.17, 2023/08/07 08:39:11
|
Line 62
|
Line 62
|
*> \param[in,out] A |
*> \param[in,out] A |
*> \verbatim |
*> \verbatim |
*> A is DOUBLE PRECISION array, dimension (LDA,N) |
*> A is DOUBLE PRECISION array, dimension (LDA,N) |
*> On entry, the NB diagonal matrix D and the multipliers |
*> On entry, the block diagonal matrix D and the multipliers |
*> used to obtain the factor U or L as computed by DSYTRF. |
*> used to obtain the factor U or L as computed by DSYTRF. |
*> |
*> |
*> On exit, if INFO = 0, the (symmetric) inverse of the original |
*> On exit, if INFO = 0, the (symmetric) inverse of the original |
Line 82
|
Line 82
|
*> \param[in] IPIV |
*> \param[in] IPIV |
*> \verbatim |
*> \verbatim |
*> IPIV is INTEGER array, dimension (N) |
*> IPIV is INTEGER array, dimension (N) |
*> Details of the interchanges and the NB structure of D |
*> Details of the interchanges and the block structure of D |
*> as determined by DSYTRF. |
*> as determined by DSYTRF. |
*> \endverbatim |
*> \endverbatim |
*> |
*> |
Line 96
|
Line 96
|
*> LWORK is INTEGER |
*> LWORK is INTEGER |
*> The dimension of the array WORK. |
*> The dimension of the array WORK. |
*> WORK is size >= (N+NB+1)*(NB+3) |
*> WORK is size >= (N+NB+1)*(NB+3) |
*> If LDWORK = -1, then a workspace query is assumed; the routine |
*> If LWORK = -1, then a workspace query is assumed; the routine |
*> calculates: |
*> calculates: |
*> - the optimal size of the WORK array, returns |
*> - the optimal size of the WORK array, returns |
*> this value as the first entry of the WORK array, |
*> this value as the first entry of the WORK array, |
*> - and no error message related to LDWORK is issued by XERBLA. |
*> - and no error message related to LWORK is issued by XERBLA. |
*> \endverbatim |
*> \endverbatim |
*> |
*> |
*> \param[out] INFO |
*> \param[out] INFO |
Line 120
|
Line 120
|
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
* |
*> \date December 2016 |
|
* |
|
*> \ingroup doubleSYcomputational |
*> \ingroup doubleSYcomputational |
* |
* |
* ===================================================================== |
* ===================================================================== |
SUBROUTINE DSYTRI2( UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO ) |
SUBROUTINE DSYTRI2( UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO ) |
* |
* |
* -- LAPACK computational routine (version 3.7.0) -- |
* -- LAPACK computational routine -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* December 2016 |
|
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
CHARACTER UPLO |
CHARACTER UPLO |
Line 153
|
Line 150
|
EXTERNAL LSAME, ILAENV |
EXTERNAL LSAME, ILAENV |
* .. |
* .. |
* .. External Subroutines .. |
* .. External Subroutines .. |
EXTERNAL DSYTRI, DSYTRI2X |
EXTERNAL DSYTRI, DSYTRI2X, XERBLA |
* .. |
* .. |
* .. Executable Statements .. |
* .. Executable Statements .. |
* |
* |
Line 163
|
Line 160
|
UPPER = LSAME( UPLO, 'U' ) |
UPPER = LSAME( UPLO, 'U' ) |
LQUERY = ( LWORK.EQ.-1 ) |
LQUERY = ( LWORK.EQ.-1 ) |
* Get blocksize |
* Get blocksize |
NBMAX = ILAENV( 1, 'DSYTRF', UPLO, N, -1, -1, -1 ) |
NBMAX = ILAENV( 1, 'DSYTRI2', UPLO, N, -1, -1, -1 ) |
IF ( NBMAX .GE. N ) THEN |
IF ( NBMAX .GE. N ) THEN |
MINSIZE = N |
MINSIZE = N |
ELSE |
ELSE |