[Numpy-discussion] number ranges (was Re: Matlab page on scipy wiki)
wbaxter at gmail.com
Mon Feb 13 20:22:06 CST 2006
Thanks for the suggestion. Didn't realize there were all those other common
i* functions. Maybe arangei is better. It gives more indication that it's
mostly like arange, but different.
On 2/14/06, Tim Hochberg <tim.hochberg at cox.net> wrote:
> FWIW, I'd recomend a different name. irange sounds like it belongs in
> the itertools module with ifilter, islice, izip, etc. Perhaps, rangei
> would work, although admittedly it's harder to see. Maybe crange for
> closed range (versus half-open range)? I dunno, but irange seems like
> it's gonna confuse someone, if not you, then other people who end up
> looking at your code.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion