[Numpy-discussion] A proposed change to rollaxis() behavior for negative 'start' values

Bradley M. Froehle brad.froehle@gmail....
Sat Feb 16 12:52:30 CST 2013


On Sat, Feb 16, 2013 at 10:45 AM, Bradley M. Froehle <brad.froehle@gmail.com
> wrote:

> Have you considered using .transpose(...) instead?
>

My apologies... I didn't read enough of the thread to see what the issue
was about.  I personally think rollaxis(...) is quite confusing and instead
choose to use .transpose(...) for clarity.

You can interpret my suggestion as a means of implementing moveaxis w/o
calling rollaxis.  In fact rollaxis is built out of the .transpose(...)
primitive anyway.

Cheers,
Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20130216/bb534dae/attachment.html 


More information about the NumPy-Discussion mailing list