Real-Time Expressions: math.sum

Overview

math.sum performs a cumulative sum of numerical values in a data stream.

Syntax

=math.sum([data stream])

Example

data_stream = (1, 2, 3, 4, 5, 6, 7)
=math.sum([data_stream])
creates a new data stream = (1, 3, 6, 10, 15, 21, 28)

Feedback and Knowledge Base