hey list,
is there a method to rotate an array vertically? given a boundary and a step value, I would like to rotate/transpose values of an array. For example: [0, 1, 2, 3] transposed by a step of value 1 within boundaries [0,5] would result in a new array [1, 2, 3, 4] at first iteration, [2, 3, 4, 5] at the next, and [3, 4, 5, 0] following one - values fold back once reaching the upper boundary.
thanks for your help
m