[Numpy-discussion] generating float sequences
Nathan Bell
wnbell at gmail.com
Fri Aug 22 22:08:43 EDT 2008
On Fri, Aug 22, 2008 at 9:35 PM, Chris Fonnesbeck <listservs at mac.com> wrote:
> Is there any prospect for easily getting ranges of floats in numpy, rather than
> just integers? In R, for example, you can specify a decimal value for the step
> size. It would be great to be able to do the following:
>
> arange(0, 100, 0.1)
>
It appears to be great already :)
In other words, arange(0, 100, 0.1) does exactly what you want.
--
Nathan Bell wnbell at gmail.com
http://graphics.cs.uiuc.edu/~wnbell/
More information about the NumPy-Discussion
mailing list