version 1.10, 2012/08/22 09:48:31
|
version 1.18, 2023/08/07 08:39:22
|
Line 2
|
Line 2
|
* |
* |
* =========== DOCUMENTATION =========== |
* =========== DOCUMENTATION =========== |
* |
* |
* Online html documentation available at |
* Online html documentation available at |
* http://www.netlib.org/lapack/explore-html/ |
* http://www.netlib.org/lapack/explore-html/ |
* |
* |
*> \htmlonly |
*> \htmlonly |
*> Download ZHBEVX + dependencies |
*> Download ZHBEVX + dependencies |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zhbevx.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zhbevx.f"> |
*> [TGZ]</a> |
*> [TGZ]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zhbevx.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zhbevx.f"> |
*> [ZIP]</a> |
*> [ZIP]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zhbevx.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zhbevx.f"> |
*> [TXT]</a> |
*> [TXT]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
Line 21
|
Line 21
|
* SUBROUTINE ZHBEVX( JOBZ, RANGE, UPLO, N, KD, AB, LDAB, Q, LDQ, VL, |
* SUBROUTINE ZHBEVX( JOBZ, RANGE, UPLO, N, KD, AB, LDAB, Q, LDQ, VL, |
* VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, RWORK, |
* VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, RWORK, |
* IWORK, IFAIL, INFO ) |
* IWORK, IFAIL, INFO ) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* CHARACTER JOBZ, RANGE, UPLO |
* CHARACTER JOBZ, RANGE, UPLO |
* INTEGER IL, INFO, IU, KD, LDAB, LDQ, LDZ, M, N |
* INTEGER IL, INFO, IU, KD, LDAB, LDQ, LDZ, M, N |
Line 33
|
Line 33
|
* COMPLEX*16 AB( LDAB, * ), Q( LDQ, * ), WORK( * ), |
* COMPLEX*16 AB( LDAB, * ), Q( LDQ, * ), WORK( * ), |
* $ Z( LDZ, * ) |
* $ Z( LDZ, * ) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
Line 123
|
Line 123
|
*> \param[in] VL |
*> \param[in] VL |
*> \verbatim |
*> \verbatim |
*> VL is DOUBLE PRECISION |
*> VL is DOUBLE PRECISION |
|
*> If RANGE='V', the lower bound of the interval to |
|
*> be searched for eigenvalues. VL < VU. |
|
*> Not referenced if RANGE = 'A' or 'I'. |
*> \endverbatim |
*> \endverbatim |
*> |
*> |
*> \param[in] VU |
*> \param[in] VU |
*> \verbatim |
*> \verbatim |
*> VU is DOUBLE PRECISION |
*> VU is DOUBLE PRECISION |
*> If RANGE='V', the lower and upper bounds of the interval to |
*> If RANGE='V', the upper bound of the interval to |
*> be searched for eigenvalues. VL < VU. |
*> be searched for eigenvalues. VL < VU. |
*> Not referenced if RANGE = 'A' or 'I'. |
*> Not referenced if RANGE = 'A' or 'I'. |
*> \endverbatim |
*> \endverbatim |
Line 136
|
Line 139
|
*> \param[in] IL |
*> \param[in] IL |
*> \verbatim |
*> \verbatim |
*> IL is INTEGER |
*> IL is INTEGER |
|
*> If RANGE='I', the index of the |
|
*> smallest eigenvalue to be returned. |
|
*> 1 <= IL <= IU <= N, if N > 0; IL = 1 and IU = 0 if N = 0. |
|
*> Not referenced if RANGE = 'A' or 'V'. |
*> \endverbatim |
*> \endverbatim |
*> |
*> |
*> \param[in] IU |
*> \param[in] IU |
*> \verbatim |
*> \verbatim |
*> IU is INTEGER |
*> IU is INTEGER |
*> If RANGE='I', the indices (in ascending order) of the |
*> If RANGE='I', the index of the |
*> smallest and largest eigenvalues to be returned. |
*> largest eigenvalue to be returned. |
*> 1 <= IL <= IU <= N, if N > 0; IL = 1 and IU = 0 if N = 0. |
*> 1 <= IL <= IU <= N, if N > 0; IL = 1 and IU = 0 if N = 0. |
*> Not referenced if RANGE = 'A' or 'V'. |
*> Not referenced if RANGE = 'A' or 'V'. |
*> \endverbatim |
*> \endverbatim |
Line 246
|
Line 253
|
* Authors: |
* Authors: |
* ======== |
* ======== |
* |
* |
*> \author Univ. of Tennessee |
*> \author Univ. of Tennessee |
*> \author Univ. of California Berkeley |
*> \author Univ. of California Berkeley |
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
|
*> \date November 2011 |
|
* |
* |
*> \ingroup complex16OTHEReigen |
*> \ingroup complex16OTHEReigen |
* |
* |
Line 260
|
Line 265
|
$ VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, RWORK, |
$ VU, IL, IU, ABSTOL, M, W, Z, LDZ, WORK, RWORK, |
$ IWORK, IFAIL, INFO ) |
$ IWORK, IFAIL, INFO ) |
* |
* |
* -- LAPACK driver routine (version 3.4.0) -- |
* -- LAPACK driver 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..-- |
* November 2011 |
|
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
CHARACTER JOBZ, RANGE, UPLO |
CHARACTER JOBZ, RANGE, UPLO |
Line 375
|
Line 379
|
$ M = 0 |
$ M = 0 |
END IF |
END IF |
IF( M.EQ.1 ) THEN |
IF( M.EQ.1 ) THEN |
W( 1 ) = CTMP1 |
W( 1 ) = DBLE( CTMP1 ) |
IF( WANTZ ) |
IF( WANTZ ) |
$ Z( 1, 1 ) = CONE |
$ Z( 1, 1 ) = CONE |
END IF |
END IF |