5.40.32 List of differences of consecutive terms: deltalist
The deltalist command finds lists of differences.
- deltalist takes one argument:
L, a list.
- deltalist(L) returns the list of the difference of
all pairs of consecutive terms of L.
Example
Input:
deltalist([5,8,1,9])
Output: