LAPACK  3.4.1
LAPACK: Linear Algebra PACKage
scsum1.f File Reference

Go to the source code of this file.

Functions/Subroutines

REAL function SCSUM1 (N, CX, INCX)
 SCSUM1

Function/Subroutine Documentation

REAL function SCSUM1 ( INTEGER  N,
COMPLEX, dimension( * )  CX,
INTEGER  INCX 
)

SCSUM1

Download SCSUM1 + dependencies [TGZ] [ZIP] [TXT]
Purpose:

 SCSUM1 takes the sum of the absolute values of a complex
 vector and returns a single precision result.

 Based on SCASUM from the Level 1 BLAS.
 The change is to use the 'genuine' absolute value.
 
Parameters:
[in]N
          N is INTEGER
          The number of elements in the vector CX.
 
[in]CX
          CX is COMPLEX array, dimension (N)
          The vector whose elements will be summed.
 
[in]INCX
          INCX is INTEGER
          The spacing between successive values of CX.  INCX > 0.
 
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
November 2011
Contributors:
Nick Higham for use with CLACON.

Definition at line 82 of file scsum1.f.

Here is the caller graph for this function:

 All Files Functions