1DZSUM1(1) LAPACK auxiliary routine (version 3.2) DZSUM1(1)
2
3
4
6 DZSUM1 - takes the sum of the absolute values of a complex vector and
7 returns a double precision result
8
10 DOUBLE PRECISION FUNCTION DZSUM1( N, CX, INCX )
11
12 INTEGER INCX, N
13
14 COMPLEX*16 CX( * )
15
17 DZSUM1 takes the sum of the absolute values of a complex vector and
18 returns a double precision result. Based on DZASUM from the Level 1
19 BLAS.
20 The change is to use the 'genuine' absolute value.
21 Contributed by Nick Higham for use with ZLACON.
22
24 N (input) INTEGER
25 The number of elements in the vector CX.
26
27 CX (input) COMPLEX*16 array, dimension (N)
28 The vector whose elements will be summed.
29
30 INCX (input) INTEGER
31 The spacing between successive values of CX. INCX > 0.
32
33
34
35 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008 DZSUM1(1)