From: Robert Kern <robert.kern@gm...> - 2006-11-17 22:56:26
> How do I include the stop value in the array by using arrayrange?
> [ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.,]
> but I want 10 to be included
1. arrayrange() is a deprecated name. arange() is the preferred name.
2. However, arange() with floating point numbers is unreliable. Because of
floating point precision issues, it is often difficult to tell whether or not
the endpoint will be included. Use linspace() instead.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
Get latest updates about Open Source Projects, Conferences and News.