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
option?

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

Henry


_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to