SCASUM(3) BLAS routine of NEC Numeric Library Collection SCASUM(3) NAME SCASUM - BLAS level one, sums the absolute values of the real and imag- inary parts of the elements of a complex vector SYNOPSIS REAL FUNCTION SCASUM ( n, x, incx ) INTEGER n, incx COMPLEX x DESCRIPTION This routine performs the following vector operation: n SCASUM <-- Sum abs( real(x(i)) ) + abs( aimag(x(i)) ) i=1 ARGUMENTS n INTEGER. (input) Number of vector elements to be summed. x 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 SCASUM REAL. (output) Sum of the absolute values of the real and imaginary parts of the elements of the vector x. If n <= 0, SCASUM 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 SCASUM(3)