--- rpl/lapack/lapack/dgghd3.f 2015/11/26 11:44:16 1.1 +++ rpl/lapack/lapack/dgghd3.f 2023/08/07 08:38:51 1.7 @@ -211,8 +211,6 @@ *> \author Univ. of Colorado Denver *> \author NAG Ltd. * -*> \date January 2015 -* *> \ingroup doubleOTHERcomputational * *> \par Further Details: @@ -220,7 +218,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). @@ -230,10 +228,9 @@ SUBROUTINE DGGHD3( 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 DGGHRD, DLARTG, DLASET, DORM22, DROT, XERBLA + EXTERNAL DGGHRD, DLARTG, DLASET, DORM22, DROT, DGEMM, + $ DGEMV, DTRMV, DLACPY, XERBLA * .. * .. Intrinsic Functions .. INTRINSIC DBLE, MAX @@ -277,7 +275,7 @@ * INFO = 0 NB = ILAENV( 1, 'DGGHD3', ' ', N, ILO, IHI, -1 ) - LWKOPT = 6*N*NB + LWKOPT = MAX( 6*N*NB, 1 ) WORK( 1 ) = DBLE( LWKOPT ) INITQ = LSAME( COMPQ, 'I' ) WANTQ = INITQ .OR. LSAME( COMPQ, 'V' )