|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Differences[list]
gives the successive differences of elements in list.
Differences[list, n]
gives the n
differences of list.
Differences[list, n, s]
gives the differences of elements step s apart.
Differences[list, {n1, n2, ...}]
gives the successive ![]()
differences at level k in a nested list.
DetailsDetails
- Differences[list] is equivalent to ListConvolve[{1, -1}, list].
- If list has length l, Differences[list, n] has length
. » - If list has length l, Differences[list, n, s] has length
. - Differences[m, {1, 0}] or Differences[m, 1] finds the successive differences of rows in a 2D array or matrix m. Differences[m, {0, 1}] finds the differences of columns.
- Differences[list, {n1, n2}] is equivalent to Differences[Differences[list, n1], {0, n2}].
New in 6 | Last modified in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
