Uncumulate
Uncumulate(x,I)
Finds the difference between each element of x and its predecessor along I.
Examples
I → | 1 | 2 | 3 | 4 | 5 | 6 |
---|---|---|---|---|---|---|
X → | 8 | 10 | 10 | 15 | 12 | 19 |
Uncumulate(X,I) → | 8 | 2 | 0 | 5 | -3 | 7 |
Library
Array Functions
See Also
Comments
Finds the difference between each element of x and its predecessor along I.
I → | 1 | 2 | 3 | 4 | 5 | 6 |
---|---|---|---|---|---|---|
X → | 8 | 10 | 10 | 15 | 12 | 19 |
Uncumulate(X,I) → | 8 | 2 | 0 | 5 | -3 | 7 |
Array Functions
Enable comment auto-refresher