Difference between revisions of "Uncumulate"
Line 7: | Line 7: | ||
= Examples = | = Examples = | ||
+ | |||
+ | {| border="1" | ||
+ | ! I → | ||
+ | | 1 || 2 || 3 || 4 || 5 || 6 | ||
+ | |- | ||
+ | ! X → | ||
+ | | 8 || 10 || 10 || 15 || 12 || 19 | ||
+ | |- | ||
+ | ! [[Uncumulate]](X,I) → | ||
+ | | 8 || 2 || 0 || 5 || -3 || 7 | ||
+ | |} | ||
= Library = | = Library = |
Revision as of 07:49, 7 August 2008
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
Enable comment auto-refresher