LAPACK  3.9.0
LAPACK: Linear Algebra PACKage
scabs1.f
Go to the documentation of this file.
1 *> \brief \b SCABS1
2 *
3 * =========== DOCUMENTATION ===========
4 *
5 * Online html documentation available at
6 * http://www.netlib.org/lapack/explore-html/
7 *
8 * Definition:
9 * ===========
10 *
11 * REAL FUNCTION SCABS1(Z)
12 *
13 * .. Scalar Arguments ..
14 * COMPLEX Z
15 * ..
16 *
17 *
18 *> \par Purpose:
19 * =============
20 *>
21 *> \verbatim
22 *>
23 *> SCABS1 computes |Re(.)| + |Im(.)| of a complex number
24 *> \endverbatim
25 *
26 * Arguments:
27 * ==========
28 *
29 *> \param[in] Z
30 *> \verbatim
31 *> Z is COMPLEX
32 *> \endverbatim
33 *
34 * Authors:
35 * ========
36 *
37 *> \author Univ. of Tennessee
38 *> \author Univ. of California Berkeley
39 *> \author Univ. of Colorado Denver
40 *> \author NAG Ltd.
41 *
42 *> \date November 2017
43 *
44 *> \ingroup single_blas_level1
45 *
46 * =====================================================================
47  REAL FUNCTION SCABS1(Z)
48 *
49 * -- Reference BLAS level1 routine (version 3.8.0) --
50 * -- Reference BLAS is a software package provided by Univ. of Tennessee, --
51 * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
52 * November 2017
53 *
54 * .. Scalar Arguments ..
55  COMPLEX z
56 * ..
57 *
58 * =====================================================================
59 *
60 * .. Intrinsic Functions ..
61  INTRINSIC abs,aimag,real
62 * ..
63  scabs1 = abs(real(z)) + abs(aimag(z))
64  RETURN
65  END
scabs1
real function scabs1(Z)
SCABS1
Definition: scabs1.f:48