ArrayTools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Low-level Manipulation : Matrices, Vectors, and Arrays : ArrayTools : ArrayTools/FlipDimension

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

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam