RotateArray Op

RotateArray

Shift array contents based upon rotate amount


<p>An array of [0,1,2,3,4] rotated by 2 will result in [2,3,4,0,1]</p>


Full Name
  • Ops.Array.RotateArray
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


Array in (Array)

<p>Array in to modify</p>

Rotate amount (Number:

<i>integer</i>

)

<p>Rotates array contents - accepts negative and positive numbers</p>

OUTPUT PORTS


ArrayOut (Array)

<p>The modified array out</p>


Patches using RotateArray

  • Examples
  • Public
  • My Patches

Changelog


Ops.Array.ArrayRotate renamed to Ops.Array.RotateArrayuser avatarpandur - 2019-09-05 10:15