naginterfaces.library.blast.isum

naginterfaces.library.blast.isum(x)[source]

isum sums the elements of an integer vector.

For full information please refer to the NAG Library document for f16dl

https://www.nag.com/numeric/nl/nagdoc_29.3/flhtml/f16/f16dlf.html

Parameters
xint, array-like, shape

The -element vector .

If , must be stored in , for .

If , is not referenced.

Returns
sumxint

The sum of the elements of .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: .

Notes

isum returns the sum

of the elements of an -element integer vector .

If on entry, isum immediately 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