FlipDimension - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


ArrayTools

  

FlipDimension

  

reverse order of elements in an Array

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

FlipDimension(A, dim)

Parameters

A

-

Matrix, Vector, or Array

dim

-

integer; dimension to flip

Description

• 

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](..).

Examples

withArrayTools:

FlipDimensionArraya,b,c,d,e,f,g,h,i,1

ghidefabc

(1)

FlipDimensionArraya,b,c,d,e,f,g,h,i,2

cbafedihg

(2)

See Also

ArrayTools

 


Download Help Document