@succession(t:tab, f:fun)
Computes the tab of the results f(t[i], t[i+1])
. For instance
[3, 2, 1].succession(@-) == [1, 1]
@fun_def @g($x, $y) { return $x - 2*$y }
[3, 2, 1].succession(@f) == [-1, 0]
See also Tab Manipulations @car, @cdr, @clear, @concat, @cons, @copy, @count, @dim, @domain, @drop, @empty, @find, @flatten, @gnuplot, @insert, @iota, @is_list, @is_prefix, @is_subsequence, @is_suffix, @lace, @last, @listify, @map, @max_val, @median, @member, @normalize, @occurs, @parse, @permute, @push_back, @push_front, @range, @reduce, @remove, @remove_duplicate, @replace, @reshape, @resize, @reverse, @rotate, @scan, @scramble, @size, @slice, @sort, @sputter, @stutter, @succession, @tab_history, @tab_history_date, @tab_history_rdate, @take @to_num