[Numpy-discussion] number ranges (was Re: Matlab page on scipy wiki)

Bill Baxter 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.

--bb

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...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060213/8d725e1d/attachment-0001.html 


More information about the Numpy-discussion mailing list