CircularShift - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ArrayTools

  

CircularShift

  

shift Array data

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

CircularShift(A, dim1, dim2, ...)

Parameters

A

-

Matrix, Vector, or Array

dimN

-

integer; amount to shift per dimension

Description

• 

The CircularShift command shifts Array A along its dimensions by the values specified by dimN. Elements being pushed off the edge of the rtable appear back on the other side.

• 

This function is part of the ArrayTools package, so it can be used in the short form CircularShift(..) only after executing the command with(ArrayTools).  However, it can always be accessed through the long form of the command by using ArrayTools[CircularShift](..).

Examples

withArrayTools:

ACircularShiftArraya,b,c,d,e,f,g,h,i,1,2

Ahigbcaefd

(1)

CircularShiftA,2,1

abcdefghi

(2)

See Also

ArrayTools