Travis Oliphant <oliphant.travis <at> ieee.org> writes:
>
> Christian Kristukat wrote:
> > Hi,
> >
> > it seems that -1 as axis parameter is interpreted like in array indexing,
> > -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.
Oh sure, I mixed that up with axis=None as Robert pointed out. However I don't
understand why axis=None wouldn't make sense for an inplace operation. Anyway,
it's not important. Sorry for the noise.
Christian
|