version 1.16, 2017/06/17 11:06:27
|
version 1.18, 2023/08/07 08:38:59
|
Line 95
|
Line 95
|
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
* |
*> \date December 2016 |
|
* |
|
*> \ingroup auxOTHERcomputational |
*> \ingroup auxOTHERcomputational |
* |
* |
*> \par Further Details: |
*> \par Further Details: |
Line 112
|
Line 110
|
* ===================================================================== |
* ===================================================================== |
SUBROUTINE DLASQ2( N, Z, INFO ) |
SUBROUTINE DLASQ2( N, Z, INFO ) |
* |
* |
* -- LAPACK computational routine (version 3.7.0) -- |
* -- LAPACK computational 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 INFO, N |
INTEGER INFO, N |
Line 184
|
Line 181
|
* |
* |
* 2-by-2 case. |
* 2-by-2 case. |
* |
* |
IF( Z( 2 ).LT.ZERO .OR. Z( 3 ).LT.ZERO ) THEN |
IF( Z( 1 ).LT.ZERO ) THEN |
INFO = -2 |
INFO = -201 |
|
CALL XERBLA( 'DLASQ2', 2 ) |
|
RETURN |
|
ELSE IF( Z( 2 ).LT.ZERO ) THEN |
|
INFO = -202 |
CALL XERBLA( 'DLASQ2', 2 ) |
CALL XERBLA( 'DLASQ2', 2 ) |
RETURN |
RETURN |
|
ELSE IF( Z( 3 ).LT.ZERO ) THEN |
|
INFO = -203 |
|
CALL XERBLA( 'DLASQ2', 2 ) |
|
RETURN |
ELSE IF( Z( 3 ).GT.Z( 1 ) ) THEN |
ELSE IF( Z( 3 ).GT.Z( 1 ) ) THEN |
D = Z( 3 ) |
D = Z( 3 ) |
Z( 3 ) = Z( 1 ) |
Z( 3 ) = Z( 1 ) |
Line 267
|
Line 272
|
* |
* |
* Check whether the machine is IEEE conformable. |
* Check whether the machine is IEEE conformable. |
* |
* |
IEEE = ILAENV( 10, 'DLASQ2', 'N', 1, 2, 3, 4 ).EQ.1 .AND. |
IEEE = ( ILAENV( 10, 'DLASQ2', 'N', 1, 2, 3, 4 ).EQ.1 ) |
$ ILAENV( 11, 'DLASQ2', 'N', 1, 2, 3, 4 ).EQ.1 |
|
* |
* |
* Rearrange data for locality: Z=(q1,qq1,e1,ee1,q2,qq2,e2,ee2,...). |
* Rearrange data for locality: Z=(q1,qq1,e1,ee1,q2,qq2,e2,ee2,...). |
* |
* |