Differences

Differences[list]
gives the successive differences of elements in list.

Differences[list, n]
gives the n^(th) differences of list.

Differences[list, n, s]
gives the differences of elements step s apart.

Differences[list, {n1, n2, ...}]
gives the successive ^(th) differences at level k in a nested list.

DetailsDetails

New in 6 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »