version 1.11, 2012/08/22 09:48:19
|
version 1.19, 2018/05/29 06:55:19
|
Line 1
|
Line 1
|
*> \brief \b DLARRD |
*> \brief \b DLARRD computes the eigenvalues of a symmetric tridiagonal matrix to suitable accuracy. |
* |
* |
* =========== 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 DLARRD + dependencies |
*> Download DLARRD + dependencies |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlarrd.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlarrd.f"> |
*> [TGZ]</a> |
*> [TGZ]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlarrd.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlarrd.f"> |
*> [ZIP]</a> |
*> [ZIP]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlarrd.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlarrd.f"> |
*> [TXT]</a> |
*> [TXT]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
Line 22
|
Line 22
|
* RELTOL, D, E, E2, PIVMIN, NSPLIT, ISPLIT, |
* RELTOL, D, E, E2, PIVMIN, NSPLIT, ISPLIT, |
* M, W, WERR, WL, WU, IBLOCK, INDEXW, |
* M, W, WERR, WL, WU, IBLOCK, INDEXW, |
* WORK, IWORK, INFO ) |
* WORK, IWORK, INFO ) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* CHARACTER ORDER, RANGE |
* CHARACTER ORDER, RANGE |
* INTEGER IL, INFO, IU, M, N, NSPLIT |
* INTEGER IL, INFO, IU, M, N, NSPLIT |
Line 34
|
Line 34
|
* DOUBLE PRECISION D( * ), E( * ), E2( * ), |
* DOUBLE PRECISION D( * ), E( * ), E2( * ), |
* $ GERS( * ), W( * ), WERR( * ), WORK( * ) |
* $ GERS( * ), W( * ), WERR( * ), WORK( * ) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
Line 92
|
Line 92
|
*> \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. Eigenvalues less than or equal |
|
*> to VL, or greater than VU, will not be returned. 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. Eigenvalues less than or equal |
*> be searched for eigenvalues. Eigenvalues less than or equal |
*> to VL, or greater than VU, will not be returned. VL < VU. |
*> to VL, or greater than VU, will not be returned. VL < VU. |
*> Not referenced if RANGE = 'A' or 'I'. |
*> Not referenced if RANGE = 'A' or 'I'. |
Line 106
|
Line 110
|
*> \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 306
|
Line 314
|
* 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 |
*> \date June 2016 |
* |
* |
*> \ingroup auxOTHERauxiliary |
*> \ingroup OTHERauxiliary |
* |
* |
* ===================================================================== |
* ===================================================================== |
SUBROUTINE DLARRD( RANGE, ORDER, N, VL, VU, IL, IU, GERS, |
SUBROUTINE DLARRD( RANGE, ORDER, N, VL, VU, IL, IU, GERS, |
Line 321
|
Line 329
|
$ M, W, WERR, WL, WU, IBLOCK, INDEXW, |
$ M, W, WERR, WL, WU, IBLOCK, INDEXW, |
$ WORK, IWORK, INFO ) |
$ WORK, IWORK, INFO ) |
* |
* |
* -- LAPACK auxiliary routine (version 3.4.0) -- |
* -- LAPACK auxiliary routine (version 3.7.1) -- |
* -- 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 |
* June 2016 |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
CHARACTER ORDER, RANGE |
CHARACTER ORDER, RANGE |
Line 377
|
Line 385
|
* |
* |
INFO = 0 |
INFO = 0 |
* |
* |
|
* Quick return if possible |
|
* |
|
IF( N.LE.0 ) THEN |
|
RETURN |
|
END IF |
|
* |
* Decode RANGE |
* Decode RANGE |
* |
* |
IF( LSAME( RANGE, 'A' ) ) THEN |
IF( LSAME( RANGE, 'A' ) ) THEN |