Chris Fonnesbeck mac.com> writes:
> It would be great to be able to do the following:
>
> arange(0, 100, 0.1)
As it turns out, I am an idiot.
Apologies.
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mai
Nathan Bell wrote:
> arange(0, 100, 0.1) does exactly what you want.
Hmmm; maybe.
I thought Chris wanted the endpoint...
Cheers,
Alan Isaac
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-
Chris Fonnesbeck wrote:
> Is there any prospect for easily getting ranges of floats
> in numpy, rather than just integers?
>>> help(np.linspace)
Help on function linspace in module numpy.lib.function_base:
linspace(start, stop, num=50, endpoint=True, retstep=False)
Return
On Fri, Aug 22, 2008 at 9:35 PM, Chris Fonnesbeck <[EMAIL PROTECTED]> 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
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)
for a sequence from 0 to 100 in steps of 0.1. It seems rather