Hi,

there are np.flipud and np.fliplr methods to flip 2d arrays on the first
and second dimension, respectively. What can I do to flip an array on an
axis which I don't know before runtime? I'd really like to see a
np.flip(arr, axis) method which lets me specify which axis to flip on.

Any ideas?

Cheers, Andreas.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to