reverse the entries of a Matrix, Vector, or Array
Matrix, Vector, or Array
(optional) integer or list of integers
inplace : (optional) true or false, with default false
The Reverse command reverses the elements of a Matrix, Vector, or Array into a new Matrix, Vector, or Array of the same shape.
When the option dims is given, it specifies the dimension or dimensions to be reversed.
When inplace=true, the reversal of elements is performed in-place.
A ≔ Array⁡1,2,3,4
B ≔ Vector⁡a,b,c,d,e
The ArrayTools:-Reverse command was introduced in Maple 2019.
For more information on Maple 2019 changes, see Updates in Maple 2019.
The ArrayTools:-Reverse command was updated in Maple 2023.
The dims option was introduced in Maple 2023.
For more information on Maple 2023 changes, see Updates in Maple 2023.
Download Help Document