From: Steve S. <el...@gm...> - 2006-02-28 19:32:08
|
Hi I've a machine where I used Numeric until now. Does the following behaviour also occur with numpy? In [38]: Numeric.__version__ Out[38]: '23.8' In [39]: a = arange(0, 0.005, 0.00001); len(a) Out[39]: 500 In [40]: a = arange(0, 0.005, 0.000001); len(a) Out[40]: 5001 Shouldn't len(a)%10 == 0 in these cases? cheers, steve -- Random number generation is the art of producing pure gibberish as quickly as possible. |