[PYTHON MATRIX-SIG] take()
Chris Chase SRM
chris.chase@jhuapl.edu
Mon, 28 Oct 1996 21:40:55 -0500
I am trying to rethink my handling of scalars/rank-0 arrays to match
what people like Konrad have eplained.
Is there a reason why take() can not use a scalar/rank-0 array as an
index vector and just reduce the rank like is done with [] indexing?
a = arange(10)
take(a, 1) <=> a[1]
Chris
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================