# SUM

## Purpose:

Calculates the sum of a series.

## Syntax:

SUM(series)

## Returns:

A real or complex scalar.

## Example:

sum(1..10)

returns 55

## Example:

sum((1..10) + i * (1..10))

returns 55 + 55i

## Remarks:

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.

## See Also:

COLSUM

MEAN

PARTSUM

ROWSUM

SUMS

VSUM