1SCSUM1(1)           LAPACK auxiliary routine (version 3.2)           SCSUM1(1)
2
3
4

NAME

6       SCSUM1  -  takes the sum of the absolute values of a complex vector and
7       returns a single precision result
8

SYNOPSIS

10       REAL FUNCTION SCSUM1( N, CX, INCX )
11
12           INTEGER   INCX, N
13
14           COMPLEX   CX( * )
15

PURPOSE

17       SCSUM1 takes the sum of the absolute values of  a  complex  vector  and
18       returns  a  single  precision result.  Based on SCASUM from the Level 1
19       BLAS.
20       The change is to use the 'genuine' absolute value.
21       Contributed by Nick Higham for use with CLACON.
22

ARGUMENTS

24       N       (input) INTEGER
25               The number of elements in the vector CX.
26
27       CX      (input) COMPLEX 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                       SCSUM1(1)
Impressum