[PYTHON MATRIX-SIG] Last complaints about NumPy 1.0a5
Fredrik Lundh
fredrik_lundh@ivab.se
Thu, 24 Oct 1996 13:41:08 +0200
> I agree, although I'd prefer search_sorted() (always nitpicking...)
> The name binarysearch() may indicate the restriction to sorted arrays
> to anyone familiar with searching algorithms, but we can't expect all
> users to be familiar with them.
What about some kind of hint mechanisms, like "search() vs.
search(SORTED)" or something more elegant.
I suppose such stuff would be applicable to many other numerical
methods as well (but otoh, I'm just a programmer ;-)
> I am sure that if I cry out aloud "what's a binary search" in our
> terminal room, I won't get a single correct answer.
I just tried that here, and people immediately started discussing
search complexity and implementation details. That it required sorted
data was so obvious that noone even told me...
Cheers /F
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================