Rotate 1D Array function: Difference between revisions
Appearance
Add content |
mNo edit summary |
||
| Line 1: | Line 1: | ||
[[File:Rotate 1D Array - Terminals.png|thumb|Rotate 1D Array function]] | [[File:Rotate 1D Array - Terminals.png|thumb|Rotate 1D Array function]] | ||
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Array{{!}}Array palette|type=function}} | {{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Array{{!}}Array palette|type=function|icon=Rotate 1D Array.png}} | ||
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. | 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. | ||
{{TOCright}} | |||
== Usage == | == Usage == | ||
| Line 18: | Line 18: | ||
[[File:Rotate 1D Array - No-op.png]] | [[File:Rotate 1D Array - No-op.png]] | ||
== History == | |||
{{ambox|text=History information is needed. What changes have occurred over previous versions?}} | |||
{| class="wikitable" | |||
! Version | |||
! Change(s) | |||
|- | |||
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]] | |||
|More info to come. | |||
|} | |||
== See Also == | |||
{{ambox|text=Add links to internal wiki pages that would also help.}} | |||
== External Links == | |||
{{ambox|text=Add links to external resources that would also help.}} | |||
[[Category:Array Palette]] | [[Category:Array Palette]] | ||
Latest revision as of 12:28, 29 June 2020

| 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. |


