Note: before using this routine, please read the Users' Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent details.
The routine may be called by its
BLAST
name blas_zsum.
3 Description
F16GLF (BLAS_ZSUM) returns the sum
of the elements of an -element complex vector , via the function name.
If
on entry, F16GLF (BLAS_ZSUM) returns the value .
4 References
Basic Linear Algebra Subprograms Technical (BLAST) Forum (2001) Basic Linear Algebra Subprograms Technical (BLAST) Forum Standard University of Tennessee, Knoxville, Tennessee http://www.netlib.org/blas/blast-forum/blas-report.pdf
5 Parameters
1: – INTEGERInput
On entry: , the number of elements in .
2: – COMPLEX (KIND=nag_wp) arrayInput
On entry: the vector . Element
is stored in , for .
3: – INTEGERInput
On entry: the increment in the subscripts of X between successive elements of .
Constraint:
.
6 Error Indicators and Warnings
If , an error message is printed and program execution is terminated.