Previous Up Next

2.37.37  List of differences of consecutive terms : deltalist

deltalist takes as argument a list.
deltalist returns the list of the difference of all pairs of consecutive terms of this list.
Input :

deltalist([5,8,1,9])

Output :

[3,-7,8]

Previous Up Next