arraylib::Sum - Return sum of the elements in array.
[array] Sum -> number
[1 2 3 4] Sum -> 10
[1 2 3 4.0] Sum -> 10.0
Returns the sum of all elements in the array. The array is expected
to contain only numbers, and is flattened before the computation.
[array]: array of numbers
The array must contain no other elements than numbers.
The return type (integer or double) depends on the type of elements.
library "arraylib"
R Kupper
17-sep-2007
/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/arraylib.sli