Travis Oliphant oliphant.travis at
Wed Oct 18 12:11:25 CDT 2006

Christian Kristukat wrote:
> Hi,
> it seems that -1 as axis parameter is interpreted like in array indexing, i.e.
> -1 means the last axis rather than meaning the only axis of the flattened
> representation, like for example with take().
> Is that intendend?

I don't understand the question.   Yes, sort(axis=-1) sorts along the 
last dimension.

AFAIK, take has the same meaning for axis.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list