Rotate 1D Array
Description
Rotates the elements of array the number of places and in the direction indicated by n.
Input parameters
array : class, one-dimentional tensor.
n : integer, must be a numeric data type. The function coerces n to a 32-bit integer if you wire another representation to it.
Output parameters
rotate array : class, is the output array. For example, if n is 1, the input array[0] becomes output array[1], input array[1] becomes output array[2], and so on, and input array[mβ1] becomes output array[0], where m is the number of elements in the array. If n is β2, input array[0] becomes output array[mβ2], input array[1] becomes output array[mβ1], and so on, and input array[mβ1] becomes output array[mβ3], where m is the number of elements in the array.
Example
All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install PERRINE library to run it).