This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


reverses the order of the elements in expr.
Reverse[expr, n]
reverses elements at level n in expr.
Reverse[expr, {n1, n2, ...}]
reverses elements at levels n1, n2, ... in expr.
  • Reverse works on SparseArray objects, reversing the elements in the corresponding ordinary array.
  • For a matrix m, Reverse[m] reverses the order of the rows, and Reverse[m, 2] reverses the order of the columns.
Reverse works with heads other than List:
Reverse sublists:
Reverse operands:
Turn an array plot upside down:
Reverse is its own inverse:
New in 1 | Last modified in 6