[Numpy-discussion] step paramter for linspace
heng at cantab.net
Fri Mar 1 09:32:48 EST 2013
On Fri, 2013-03-01 at 09:24 -0500, Warren Weckesser wrote:
> > In my jet-lag addled state, i can't see when this out[-1] > stop
> > will occur, but I can take it as true. It does seem to be
> > though.
> Here you go:
> In : end = 2.2
> In : x = arange(0.1, end, 0.3)
I'll assert then that there should be an equivalent for floats that
unambiguously returns a range for the half open interval. IMO this is
more useful than a hacky version of linspace.
More information about the NumPy-Discussion