naginterfaces.library.blast.dsum¶
- naginterfaces.library.blast.dsum(x)[source]¶
dsum
sums the elements of a real vector.For full information please refer to the NAG Library document for f16el
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f16/f16elf.html
- Parameters
- xfloat, array-like, shape
The -element vector .
If , must be stored in , for .
If , is not referenced.
- Returns
- sumxfloat
The sum of the elements of .
- Raises
- NagValueError
- (errno )
On entry, error in parameter .
Constraint: .
- Notes
dsum
returns the sumof the elements of an -element real vector .
If on entry,
dsum
returns the value .
- References
Basic Linear Algebra Subprograms Technical (BLAST) Forum, 2001, Basic Linear Algebra Subprograms Technical (BLAST) Forum Standard, University of Tennessee, Knoxville, Tennessee, https://www.netlib.org/blas/blast-forum/blas-report.pdf