DZASUM(3)       BLAS routine of NEC Numeric Library Collection       DZASUM(3)



NAME
       DZASUM - BLAS level one, sums the absolute values of the real and imag-
       inary parts of the elements of a double complex vector

SYNOPSIS
       DOUBLE PRECISION FUNCTION DZASUM ( n, x, incx )

           INTEGER                     n, incx

           DOUBLE COMPLEX              x


DESCRIPTION
       This routine performs the following vector operation:

                           n
               DZASUM <-- Sum abs( real(x(i)) ) + abs( aimag(x(i)) )
                          i=1

ARGUMENTS
       n       INTEGER. (input)
               Number of vector elements to be summed.

       x       DOUBLE COMPLEX. (input)
               Array of dimension (n-1) * abs(incx) + 1.
               Vector that contains elements to be summed.

       incx    INTEGER. (input)
               Increment between elements of x.
               If incx = 0, the results will be unpredictable.

RETURN VALUES
       DZASUM  DOUBLE PRECISION. (output)
               Sum of the absolute values of the real and imaginary  parts  of
               the elements of the vector x.
               If n <= 0, DZASUM is set to 0.

NOTES
       This  routine  is  Level  1  Basic  Linear Algebra Subprograms (Level 1
       BLAS).

       When working backward (incx < 0), each routine starts at the end of the
       vector and moves backward, as follows:

            x(1-incx * (n-1)), x(1-incx * (n-2)), ..., x(1)



BLAS routine                                                         DZASUM(3)