--- rpl/lapack/lapack/zgghd3.f 2015/11/26 11:44:22 1.1 +++ rpl/lapack/lapack/zgghd3.f 2023/08/07 08:39:21 1.7 @@ -208,8 +208,6 @@ *> \author Univ. of Colorado Denver *> \author NAG Ltd. * -*> \date January 2015 -* *> \ingroup complex16OTHERcomputational * *> \par Further Details: @@ -217,7 +215,7 @@ *> *> \verbatim *> -*> This routine reduces A to Hessenberg form and maintains B in +*> This routine reduces A to Hessenberg form and maintains B in triangular form *> using a blocked variant of Moler and Stewart's original algorithm, *> as described by Kagstrom, Kressner, Quintana-Orti, and Quintana-Orti *> (BIT 2008). @@ -227,10 +225,9 @@ SUBROUTINE ZGGHD3( COMPQ, COMPZ, N, ILO, IHI, A, LDA, B, LDB, Q, $ LDQ, Z, LDZ, 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..-- -* January 2015 * IMPLICIT NONE * @@ -266,7 +263,8 @@ EXTERNAL ILAENV, LSAME * .. * .. External Subroutines .. - EXTERNAL ZGGHRD, ZLARTG, ZLASET, ZUNM22, ZROT, XERBLA + EXTERNAL ZGGHRD, ZLARTG, ZLASET, ZUNM22, ZROT, ZGEMM, + $ ZGEMV, ZTRMV, ZLACPY, XERBLA * .. * .. Intrinsic Functions .. INTRINSIC DBLE, DCMPLX, DCONJG, MAX @@ -277,7 +275,7 @@ * INFO = 0 NB = ILAENV( 1, 'ZGGHD3', ' ', N, ILO, IHI, -1 ) - LWKOPT = 6*N*NB + LWKOPT = MAX( 6*N*NB, 1 ) WORK( 1 ) = DCMPLX( LWKOPT ) INITQ = LSAME( COMPQ, 'I' ) WANTQ = INITQ .OR. LSAME( COMPQ, 'V' )