version 1.16, 2017/06/17 10:53:49
|
version 1.21, 2023/08/07 08:38:49
|
Line 90
|
Line 90
|
*> \verbatim |
*> \verbatim |
*> SCALE is DOUBLE PRECISION |
*> SCALE is DOUBLE PRECISION |
*> On exit, SCALE contains the scale factor. SCALE is chosen |
*> On exit, SCALE contains the scale factor. SCALE is chosen |
*> 0 <= SCALE <= 1 to prevent owerflow in the solution. |
*> 0 <= SCALE <= 1 to prevent overflow in the solution. |
*> \endverbatim |
*> \endverbatim |
* |
* |
* Authors: |
* Authors: |
Line 101
|
Line 101
|
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
* |
*> \date December 2016 |
|
* |
|
*> \ingroup doubleGEauxiliary |
*> \ingroup doubleGEauxiliary |
* |
* |
*> \par Contributors: |
*> \par Contributors: |
Line 114
|
Line 112
|
* ===================================================================== |
* ===================================================================== |
SUBROUTINE DGESC2( N, A, LDA, RHS, IPIV, JPIV, SCALE ) |
SUBROUTINE DGESC2( N, A, LDA, RHS, IPIV, JPIV, SCALE ) |
* |
* |
* -- LAPACK auxiliary routine (version 3.7.0) -- |
* -- 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..-- |
* December 2016 |
|
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
INTEGER LDA, N |
INTEGER LDA, N |
Line 139
|
Line 136
|
DOUBLE PRECISION BIGNUM, EPS, SMLNUM, TEMP |
DOUBLE PRECISION BIGNUM, EPS, SMLNUM, TEMP |
* .. |
* .. |
* .. External Subroutines .. |
* .. External Subroutines .. |
EXTERNAL DLASWP, DSCAL |
EXTERNAL DLASWP, DSCAL, DLABAD |
* .. |
* .. |
* .. External Functions .. |
* .. External Functions .. |
INTEGER IDAMAX |
INTEGER IDAMAX |
Line 151
|
Line 148
|
* .. |
* .. |
* .. Executable Statements .. |
* .. Executable Statements .. |
* |
* |
* Set constant to control owerflow |
* Set constant to control overflow |
* |
* |
EPS = DLAMCH( 'P' ) |
EPS = DLAMCH( 'P' ) |
SMLNUM = DLAMCH( 'S' ) / EPS |
SMLNUM = DLAMCH( 'S' ) / EPS |