I thought this is what the linspace function was
written for in numpy. Why not use that? It works
just like you would want always including the final
point.
--- Joris De Ridder <[EMAIL PROTECTED]>
wrote:
> Might using
>
> min(ceil((stop-start)/step),
> ceil((stop-start)/step-r))
>
> with r = finfo(double).resolution instead of
> ceil((stop-start)/step)
> perhaps be useful?
>
> Joris
-- Lou Pecora, my views are my own.
____________________________________________________________________________________
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings,
and more!
http://tv.yahoo.com/collections/3658
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion