ArrayTools
FlipDimension
reverse order of elements in an Array
Calling Sequence
Parameters
Description
Examples
FlipDimension(A, dim)
A
-
Matrix, Vector, or Array
dim
integer; dimension to flip
The FlipDimension command reverses the order of elements in dimension, dim, of Array, A.
This function is part of the ArrayTools package, so it can be used in the short form FlipDimension(..) only after executing the command with(ArrayTools). However, it can always be accessed through the long form of the command by using ArrayTools[FlipDimension](..).
with⁡ArrayTools:
FlipDimension⁡Array⁡a,b,c,d,e,f,g,h,i,1
ghidefabc
FlipDimension⁡Array⁡a,b,c,d,e,f,g,h,i,2
cbafedihg
See Also
Download Help Document