Nodes ▸ Functions ▸ Augmenters

Roll

Shifts the elements of array a cyclically by shift positions along axis; a blank axis rolls the flattened array.

Wraps roll.

Rolla

Inputs

PortAcceptsRequiredDescription
a primitive(array) required The array to rearrange

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
axis primitive(number) opt-in
drives axis
Drives the Axis parameter while connected
shift primitive(number) opt-in
drives shift
Drives the Shift parameter while connected

Outputs

primitive(array)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
Axis
axis
int none ⇄ port
Shift
shift
int none ⇄ port

Used by

No stock template or group uses this node.