version 1.9, 2011/11/21 22:19:29
|
version 1.17, 2018/05/29 07:17:54
|
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 DHSEIN + dependencies |
*> Download DHSEIN + dependencies |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dhsein.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dhsein.f"> |
*> [TGZ]</a> |
*> [TGZ]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dhsein.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dhsein.f"> |
*> [ZIP]</a> |
*> [ZIP]</a> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dhsein.f"> |
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dhsein.f"> |
*> [TXT]</a> |
*> [TXT]</a> |
*> \endhtmlonly |
*> \endhtmlonly |
* |
* |
* Definition: |
* Definition: |
* =========== |
* =========== |
Line 21
|
Line 21
|
* SUBROUTINE DHSEIN( SIDE, EIGSRC, INITV, SELECT, N, H, LDH, WR, WI, |
* SUBROUTINE DHSEIN( SIDE, EIGSRC, INITV, SELECT, N, H, LDH, WR, WI, |
* VL, LDVL, VR, LDVR, MM, M, WORK, IFAILL, |
* VL, LDVL, VR, LDVR, MM, M, WORK, IFAILL, |
* IFAILR, INFO ) |
* IFAILR, INFO ) |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
* CHARACTER EIGSRC, INITV, SIDE |
* CHARACTER EIGSRC, INITV, SIDE |
* INTEGER INFO, LDH, LDVL, LDVR, M, MM, N |
* INTEGER INFO, LDH, LDVL, LDVR, M, MM, N |
Line 32
|
Line 32
|
* DOUBLE PRECISION H( LDH, * ), VL( LDVL, * ), VR( LDVR, * ), |
* DOUBLE PRECISION H( LDH, * ), VL( LDVL, * ), VR( LDVR, * ), |
* $ WI( * ), WORK( * ), WR( * ) |
* $ WI( * ), WORK( * ), WR( * ) |
* .. |
* .. |
* |
* |
* |
* |
*> \par Purpose: |
*> \par Purpose: |
* ============= |
* ============= |
Line 108
|
Line 108
|
*> \verbatim |
*> \verbatim |
*> H is DOUBLE PRECISION array, dimension (LDH,N) |
*> H is DOUBLE PRECISION array, dimension (LDH,N) |
*> The upper Hessenberg matrix H. |
*> The upper Hessenberg matrix H. |
|
*> If a NaN is detected in H, the routine will return with INFO=-6. |
*> \endverbatim |
*> \endverbatim |
*> |
*> |
*> \param[in] LDH |
*> \param[in] LDH |
Line 238
|
Line 239
|
* 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 December 2016 |
* |
* |
*> \ingroup doubleOTHERcomputational |
*> \ingroup doubleOTHERcomputational |
* |
* |
Line 262
|
Line 263
|
$ VL, LDVL, VR, LDVR, MM, M, WORK, IFAILL, |
$ VL, LDVL, VR, LDVR, MM, M, WORK, IFAILL, |
$ IFAILR, INFO ) |
$ IFAILR, INFO ) |
* |
* |
* -- LAPACK computational routine (version 3.4.0) -- |
* -- LAPACK computational routine (version 3.7.0) -- |
* -- 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 |
* December 2016 |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
CHARACTER EIGSRC, INITV, SIDE |
CHARACTER EIGSRC, INITV, SIDE |
Line 291
|
Line 292
|
$ WKR |
$ WKR |
* .. |
* .. |
* .. External Functions .. |
* .. External Functions .. |
LOGICAL LSAME |
LOGICAL LSAME, DISNAN |
DOUBLE PRECISION DLAMCH, DLANHS |
DOUBLE PRECISION DLAMCH, DLANHS |
EXTERNAL LSAME, DLAMCH, DLANHS |
EXTERNAL LSAME, DLAMCH, DLANHS, DISNAN |
* .. |
* .. |
* .. External Subroutines .. |
* .. External Subroutines .. |
EXTERNAL DLAEIN, XERBLA |
EXTERNAL DLAEIN, XERBLA |
Line 423
|
Line 424
|
* has not ben computed before. |
* has not ben computed before. |
* |
* |
HNORM = DLANHS( 'I', KR-KL+1, H( KL, KL ), LDH, WORK ) |
HNORM = DLANHS( 'I', KR-KL+1, H( KL, KL ), LDH, WORK ) |
IF( HNORM.GT.ZERO ) THEN |
IF( DISNAN( HNORM ) ) THEN |
|
INFO = -6 |
|
RETURN |
|
ELSE IF( HNORM.GT.ZERO ) THEN |
EPS3 = HNORM*ULP |
EPS3 = HNORM*ULP |
ELSE |
ELSE |
EPS3 = SMLNUM |
EPS3 = SMLNUM |