Diff for /rpl/lapack/lapack/zhegs2.f between versions 1.16 and 1.20

version 1.16, 2017/06/17 10:54:15 version 1.20, 2023/08/07 08:39:23
Line 97 Line 97
 *>          B is COMPLEX*16 array, dimension (LDB,N)  *>          B is COMPLEX*16 array, dimension (LDB,N)
 *>          The triangular factor from the Cholesky factorization of B,  *>          The triangular factor from the Cholesky factorization of B,
 *>          as returned by ZPOTRF.  *>          as returned by ZPOTRF.
   *>          B is modified by the routine but restored on exit.
 *> \endverbatim  *> \endverbatim
 *>  *>
 *> \param[in] LDB  *> \param[in] LDB
Line 120 Line 121
 *> \author Univ. of Colorado Denver  *> \author Univ. of Colorado Denver
 *> \author NAG Ltd.  *> \author NAG Ltd.
 *  *
 *> \date December 2016  
 *  
 *> \ingroup complex16HEcomputational  *> \ingroup complex16HEcomputational
 *  *
 *  =====================================================================  *  =====================================================================
       SUBROUTINE ZHEGS2( ITYPE, UPLO, N, A, LDA, B, LDB, INFO )        SUBROUTINE ZHEGS2( ITYPE, UPLO, N, A, LDA, B, LDB, 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 196 Line 194
 *  *
 *              Update the upper triangle of A(k:n,k:n)  *              Update the upper triangle of A(k:n,k:n)
 *  *
                AKK = A( K, K )                 AKK = DBLE( A( K, K ) )
                BKK = B( K, K )                 BKK = DBLE( B( K, K ) )
                AKK = AKK / BKK**2                 AKK = AKK / BKK**2
                A( K, K ) = AKK                 A( K, K ) = AKK
                IF( K.LT.N ) THEN                 IF( K.LT.N ) THEN
Line 226 Line 224
 *  *
 *              Update the lower triangle of A(k:n,k:n)  *              Update the lower triangle of A(k:n,k:n)
 *  *
                AKK = A( K, K )                 AKK = DBLE( A( K, K ) )
                BKK = B( K, K )                 BKK = DBLE( B( K, K ) )
                AKK = AKK / BKK**2                 AKK = AKK / BKK**2
                A( K, K ) = AKK                 A( K, K ) = AKK
                IF( K.LT.N ) THEN                 IF( K.LT.N ) THEN
Line 251 Line 249
 *  *
 *              Update the upper triangle of A(1:k,1:k)  *              Update the upper triangle of A(1:k,1:k)
 *  *
                AKK = A( K, K )                 AKK = DBLE( A( K, K ) )
                BKK = B( K, K )                 BKK = DBLE( B( K, K ) )
                CALL ZTRMV( UPLO, 'No transpose', 'Non-unit', K-1, B,                 CALL ZTRMV( UPLO, 'No transpose', 'Non-unit', K-1, B,
      $                     LDB, A( 1, K ), 1 )       $                     LDB, A( 1, K ), 1 )
                CT = HALF*AKK                 CT = HALF*AKK
Line 271 Line 269
 *  *
 *              Update the lower triangle of A(1:k,1:k)  *              Update the lower triangle of A(1:k,1:k)
 *  *
                AKK = A( K, K )                 AKK = DBLE( A( K, K ) )
                BKK = B( K, K )                 BKK = DBLE( B( K, K ) )
                CALL ZLACGV( K-1, A( K, 1 ), LDA )                 CALL ZLACGV( K-1, A( K, 1 ), LDA )
                CALL ZTRMV( UPLO, 'Conjugate transpose', 'Non-unit', K-1,                 CALL ZTRMV( UPLO, 'Conjugate transpose', 'Non-unit', K-1,
      $                     B, LDB, A( K, 1 ), LDA )       $                     B, LDB, A( K, 1 ), LDA )

Removed from v.1.16  
changed lines
  Added in v.1.20


CVSweb interface <joel.bertrand@systella.fr>