ArrayTools
Reverse
reverse the entries of a Matrix, Vector, or Array
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
Reverse(A)
A
-
Matrix, Vector, or Array
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 inplace=true, the reversal of elements is performed in-place.
with⁡ArrayTools:
A≔Array⁡1,2,3,4
A≔1234
Reverse⁡A
4321
B≔Vector⁡a,b,c,d,e
B≔abcde
Reverse⁡B,inplace:
B
edcba
The ArrayTools[Reverse] command was introduced in Maple 2019.
For more information on Maple 2019 changes, see Updates in Maple 2019.
See Also
ArrayTools[Alias]
Download Help Document
What kind of issue would you like to report? (Optional)