delta

xod/core/delta

Calculates difference between current and past input values.
delta
@/delta
Calculates difference between current and past input values.
INnumber
Input value
UPDpulse
Update: trigger a calculation and store the current `IN` value as the new “past” value.
RSTpulse
Resets the stored past value to the current input value. Efficiently sets `OUT` to 0.
delta
ININUPDUPDRSTRSTOUTOUT
OUTnumber
The last difference value.