deltas

From The K Language Wiki
Revision as of 02:41, 9 July 2022 by Promovicz (talk | contribs) ("Add category")
Deltas
deltas

deltas is used to get the deltas of a numeric array.

It is equivalent to -': in most K dialects.

 deltas 1 6 2 3 4
1 5 -4 1 1