What is the counterpart of numpy.roll that performs a circular shift on a vector?
add a comment
The counterpart of numpy.roll that performs a circular shift on a vector is numpy.roll(a, shift=len(a)-1) or numpy.roll(a, shift=-1)
Asked: 2023-06-08 12:35:32 +0000
Seen: 13 times
Last updated: Jun 08 '23