6.3.31 List of differences of consecutive terms
The
deltalist
command finds lists of differences.
deltalist
takes
L
, a list.
deltalist(
L
)
returns the list of the difference of all pairs of consecutive terms of
L
.
Example
deltalist
([5,8,1,9])
⎡
⎣
3,−7,8
⎤
⎦