version 1.13, 2017/06/17 10:53:42
|
version 1.16, 2023/08/07 08:38:42
|
Line 24
|
Line 24
|
*> DCABS1 computes |Re(.)| + |Im(.)| of a double complex number |
*> DCABS1 computes |Re(.)| + |Im(.)| of a double complex number |
*> \endverbatim |
*> \endverbatim |
* |
* |
|
* Arguments: |
|
* ========== |
|
* |
|
*> \param[in] Z |
|
*> \verbatim |
|
*> Z is COMPLEX*16 |
|
*> \endverbatim |
|
* |
* Authors: |
* Authors: |
* ======== |
* ======== |
* |
* |
Line 32
|
Line 40
|
*> \author Univ. of Colorado Denver |
*> \author Univ. of Colorado Denver |
*> \author NAG Ltd. |
*> \author NAG Ltd. |
* |
* |
*> \date December 2016 |
|
* |
|
*> \ingroup double_blas_level1 |
*> \ingroup double_blas_level1 |
* |
* |
* ===================================================================== |
* ===================================================================== |
DOUBLE PRECISION FUNCTION DCABS1(Z) |
DOUBLE PRECISION FUNCTION DCABS1(Z) |
* |
* |
* -- Reference BLAS level1 routine (version 3.7.0) -- |
* -- Reference BLAS level1 routine -- |
* -- Reference BLAS is a software package provided by Univ. of Tennessee, -- |
* -- Reference BLAS 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 .. |
COMPLEX*16 Z |
COMPLEX*16 Z |
Line 55
|
Line 60
|
* |
* |
DCABS1 = ABS(DBLE(Z)) + ABS(DIMAG(Z)) |
DCABS1 = ABS(DBLE(Z)) + ABS(DIMAG(Z)) |
RETURN |
RETURN |
|
* |
|
* End of DCABS1 |
|
* |
END |
END |