Real-Time Expressions: math.delta

Overview

math.delta calculates the change in value between adjacent numerical values in a data stream.

Syntax

=math.delta([data stream])

Example

data_stream = (1, 3, 8, 12, 9, 6, 2)
=math.sum([data_stream])
creates a new data stream = (2, 5, 4, -3, -3, -4)

Feedback and Knowledge Base