[Numpy-discussion] Functions for indexing into certain parts of an array (2d)
Fernando Perez
fperez.net@gmail....
Sat Jun 6 13:31:35 CDT 2009
On Sat, Jun 6, 2009 at 8:27 AM, Keith Goodman<kwgoodman@gmail.com> wrote:
> What do you think of passing in the array a instead of n and ndim
> (diag_indices_list_2 below)?
Yes, I thought of that too. I see use cases for both though. Would
people prefer both, or rather a flexible interface that tries to
introspect the inputs and do both in one call?
Cheers,
f
More information about the Numpy-discussion
mailing list