RotRight
Rotates a linear container to the right.
Syntax
-
RotRight(X[, n])
-
X
is a linear container -
n
is an integer
-
Description
If X
is a vector or a list, then RotRight(X, n)
returns X
with its elements rotated n
steps to the right. If omitted, n
defaults to 1
.