Rotate 1D Array function
Appearance
![](/w/images/thumb/9/9c/Rotate_1D_Array_-_Terminals.png/300px-Rotate_1D_Array_-_Terminals.png)
Object information | |
---|---|
Owning palette(s) | Array palette |
Type | Function |
Requires | Basic Development Environment |
Icon | ![]() |
The Rotate 1D Array function takes a one-dimensional array and moves the start of the array by the number of elements specified, effectively "rotating" the array.
Usage
Connect a one-dimensional array at the array input terminal and specify the number of elements to move at n. The resulting array will contain all elements from the source array "rotated" by the number of elements specified.
It is also possible to specify a negative value for n to "rotate" in the opposite direction.
A value of zero results in a no-op which leaves the original array unchanged.
History
![]() |
History information is needed. What changes have occurred over previous versions? |
Version | Change(s) |
---|---|
![]() |
More info to come. |
See Also
![]() |
Add links to internal wiki pages that would also help. |
External Links
![]() |
Add links to external resources that would also help. |