[PYTHON MATRIX-SIG] alpha2 and default axes
Wed, 14 Aug 1996 18:22:10 +0100 (BST)
On Tue, 13 Aug 1996, Jim Hugunin
> What to do about default axes?
> I'd really like some more feedback from you people out there as to what
> the default axes for the various NumPy functions should be. The basic
> functions I see here are:
> ufunc.reduce, ufunc.accumulate, sort, argsort, argmax, ...
-1, so that take(b,argsort(a)) works
repeats= could actually be a tuple containing the number of times each
dimension should be repeated. In this case, repeats[-1] should correspond
to the last dimension of a, and any missing dimensions in repeats=
should default to one. So, axis=-1
-1, same as take()
0, I *think*.
In all cases, the ability to use non-default axes should be preserved.
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: firstname.lastname@example.org
administrivia to: email@example.com