Sums all the elements in an array
SUM() | array=Array | Sum all the elements |
example:
# Integrate some data >> printn sum(w.y) 12456890.789
The Sum() function returns the sum of all the elements in an array. As a matter of convenience, undefined elements are ignored. To be correct however, all undefined elements should be "fixed" to a chosen value using the Fix() command.
Array (Array)
Array to be summed.
RESULT = (Array element type)
The sum of all the data in an array.