next up previous contents
Next: The Tangent Function Up: Mathematical Functions Previous: The Square Root Function

Summation

Calling Sequence: sum(a)
Parameters:
a : array( real)

Returns: real

Synopsis: This function returns the sum of the elements of the array a.

Examples:

> sum([1, 3, 19]);

See also: zip




Gaston Gonnet
1998-09-15