Calculates the sum of a series.
A real or complex scalar.
sum((1..10) + i * (1..10))
returns 55 + 55i
NA values in a series are skipped over by SUM.
See SUMS to compute the point by point sum of multiple input series.
See VSUM to compute the sum of input values that consist of scalars and/or series.