[Numpy-discussion] step paramter for linspace

Henry Gomersall heng@cantab....
Fri Mar 1 06:33:14 CST 2013

On Fri, 2013-03-01 at 13:25 +0100, Sebastian Berg wrote:
> there has been a request on the issue tracker for a step parameter to
> linspace. This is of course tricky with the imprecision of floating
> point numbers.

How is that different to arange? Either you specify the number of points
with linspace, or you specify the step with arange. Is there a third

My usual hack to deal with the numerical bounds issue is to add/subtract
half the step.


More information about the NumPy-Discussion mailing list