On Sat, Jun 6, 2009 at 8:27 AM, Keith Goodman<kwgood...@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
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to