Circularly shift vector elements
[1,N] numeric, A vector
[1,1] integer, How many positions to shift.
by > 0 -> shift to right
by = 0 -> no shift
by < 0 -> shift to left
[1,N] numeric, Circularly shifted signal
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.