--- rpl/lapack/lapack/zhetri2.f 2016/08/27 15:34:51 1.8
+++ rpl/lapack/lapack/zhetri2.f 2023/08/07 08:39:25 1.14
@@ -2,24 +2,24 @@
*
* =========== DOCUMENTATION ===========
*
-* Online html documentation available at
-* http://www.netlib.org/lapack/explore-html/
+* Online html documentation available at
+* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
-*> Download ZHETRI2 + dependencies
-*>
-*> [TGZ]
-*>
-*> [ZIP]
-*>
+*> Download ZHETRI2 + dependencies
+*>
+*> [TGZ]
+*>
+*> [ZIP]
+*>
*> [TXT]
-*> \endhtmlonly
+*> \endhtmlonly
*
* Definition:
* ===========
*
* SUBROUTINE ZHETRI2( UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO )
-*
+*
* .. Scalar Arguments ..
* CHARACTER UPLO
* INTEGER INFO, LDA, LWORK, N
@@ -28,7 +28,7 @@
* INTEGER IPIV( * )
* COMPLEX*16 A( LDA, * ), WORK( * )
* ..
-*
+*
*
*> \par Purpose:
* =============
@@ -62,7 +62,7 @@
*> \param[in,out] A
*> \verbatim
*> A is COMPLEX*16 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 ZHETRF.
*>
*> On exit, if INFO = 0, the (symmetric) inverse of the original
@@ -82,7 +82,7 @@
*> \param[in] IPIV
*> \verbatim
*> 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 ZHETRF.
*> \endverbatim
*>
@@ -115,22 +115,19 @@
* Authors:
* ========
*
-*> \author Univ. of Tennessee
-*> \author Univ. of California Berkeley
-*> \author Univ. of Colorado Denver
-*> \author NAG Ltd.
-*
-*> \date November 2015
+*> \author Univ. of Tennessee
+*> \author Univ. of California Berkeley
+*> \author Univ. of Colorado Denver
+*> \author NAG Ltd.
*
*> \ingroup complex16HEcomputational
*
* =====================================================================
SUBROUTINE ZHETRI2( UPLO, N, A, LDA, IPIV, WORK, LWORK, INFO )
*
-* -- LAPACK computational routine (version 3.6.0) --
+* -- LAPACK computational routine --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
-* November 2015
*
* .. Scalar Arguments ..
CHARACTER UPLO
@@ -153,7 +150,7 @@
EXTERNAL LSAME, ILAENV
* ..
* .. External Subroutines ..
- EXTERNAL ZHETRI2X
+ EXTERNAL ZHETRI2X, ZHETRI, XERBLA
* ..
* .. Executable Statements ..
*
@@ -192,7 +189,7 @@
END IF
IF( N.EQ.0 )
$ RETURN
-
+
IF( NBMAX .GE. N ) THEN
CALL ZHETRI( UPLO, N, A, LDA, IPIV, WORK, INFO )
ELSE