The routine may be called by its
BLAST
name blas_dsum.
3
Description
f16elf (blas_dsum) returns the sum
of the elements of an -element real vector , via the function name.
If
on entry, f16elf (blas_dsum) 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
Arguments
1: – IntegerInput
On entry: , the number of elements in .
2: – Real (Kind=nag_wp) arrayInput
On entry: the -element vector .
If ,
must be stored in , for .
If ,
must be stored in , for .
Intermediate elements of x are not referenced. If , x is not referenced.
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.