version 1.18, 2016/08/27 15:34:30
|
version 1.24, 2023/08/07 08:38:58
|
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 DLARRV + dependencies |
*> Download DLARRV + dependencies |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlarrv.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlarrv.f"> |
*> [TGZ]</a> |
*> [TGZ]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlarrv.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlarrv.f"> |
*> [ZIP]</a> |
*> [ZIP]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlarrv.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlarrv.f"> |
*> [TXT]</a> |
*> [TXT]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
Line 23
|
Line 23
|
* RTOL1, RTOL2, W, WERR, WGAP, |
* RTOL1, RTOL2, W, WERR, WGAP, |
* IBLOCK, INDEXW, GERS, Z, LDZ, ISUPPZ, |
* IBLOCK, INDEXW, GERS, Z, LDZ, ISUPPZ, |
* WORK, IWORK, INFO ) |
* WORK, IWORK, INFO ) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* INTEGER DOL, DOU, INFO, LDZ, M, N |
* INTEGER DOL, DOU, INFO, LDZ, M, N |
* DOUBLE PRECISION MINRGP, PIVMIN, RTOL1, RTOL2, VL, VU |
* DOUBLE PRECISION MINRGP, PIVMIN, RTOL1, RTOL2, VL, VU |
Line 35
|
Line 35
|
* $ WGAP( * ), WORK( * ) |
* $ WGAP( * ), WORK( * ) |
* DOUBLE PRECISION Z( LDZ, * ) |
* DOUBLE PRECISION Z( LDZ, * ) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
Line 68
|
Line 68
|
*> \verbatim |
*> \verbatim |
*> VU is DOUBLE PRECISION |
*> VU is DOUBLE PRECISION |
*> Upper bound of the interval that contains the desired |
*> Upper bound of the interval that contains the desired |
*> eigenvalues. VL < VU. Needed to compute gaps on the left or right |
*> eigenvalues. VL < VU. |
*> end of the extremal eigenvalues in the desired RANGE. |
*> Note: VU is currently not used by this implementation of DLARRV, VU is |
|
*> passed to DLARRV because it could be used compute gaps on the right end |
|
*> of the extremal eigenvalues. However, with not much initial accuracy in |
|
*> LAMBDA and VU, the formula can lead to an overestimation of the right gap |
|
*> and thus to inadequately early RQI 'convergence'. This is currently |
|
*> prevented this by forcing a small right gap. And so it turns out that VU |
|
*> is currently not used by this implementation of DLARRV. |
*> \endverbatim |
*> \endverbatim |
*> |
*> |
*> \param[in,out] D |
*> \param[in,out] D |
Line 143
|
Line 149
|
*> RTOL2 is DOUBLE PRECISION |
*> RTOL2 is DOUBLE PRECISION |
*> Parameters for bisection. |
*> Parameters for bisection. |
*> An interval [LEFT,RIGHT] has converged if |
*> An interval [LEFT,RIGHT] has converged if |
*> RIGHT-LEFT.LT.MAX( RTOL1*GAP, RTOL2*MAX(|LEFT|,|RIGHT|) ) |
*> RIGHT-LEFT < MAX( RTOL1*GAP, RTOL2*MAX(|LEFT|,|RIGHT|) ) |
*> \endverbatim |
*> \endverbatim |
*> |
*> |
*> \param[in,out] W |
*> \param[in,out] W |
Line 261
|
Line 267
|
* 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 June 2016 |
|
* |
* |
*> \ingroup doubleOTHERauxiliary |
*> \ingroup doubleOTHERauxiliary |
* |
* |
Line 286
|
Line 290
|
$ IBLOCK, INDEXW, GERS, Z, LDZ, ISUPPZ, |
$ IBLOCK, INDEXW, GERS, Z, LDZ, ISUPPZ, |
$ WORK, IWORK, INFO ) |
$ WORK, IWORK, INFO ) |
* |
* |
* -- LAPACK auxiliary routine (version 3.6.1) -- |
* -- LAPACK auxiliary 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..-- |
* June 2016 |
|
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
INTEGER DOL, DOU, INFO, LDZ, M, N |
INTEGER DOL, DOU, INFO, LDZ, M, N |
Line 344
|
Line 347
|
* .. |
* .. |
|
|
INFO = 0 |
INFO = 0 |
|
* |
|
* Quick return if possible |
|
* |
|
IF( (N.LE.0).OR.(M.LE.0) ) THEN |
|
RETURN |
|
END IF |
|
* |
* The first N entries of WORK are reserved for the eigenvalues |
* The first N entries of WORK are reserved for the eigenvalues |
INDLD = N+1 |
INDLD = N+1 |
INDLLD= 2*N+1 |
INDLLD= 2*N+1 |