From: Ivan V. i B. <iv...@ca...> - 2006-10-19 15:40:07
|
En/na Travis Oliphant ha escrit:: > Ivan Vilata i Balaguer wrote: >> Wouldn't be 0.0 a more natural answer? I understand that 1 is neutral= >> on product operations, but I still can't see why 1.0 is a better answe= r. >=20 > It's the identity for the multiplication ufunc. =20 OK, I guess that means it's something like an implicit ``initializer`` (as pointed by Alan) to ufunc reductions. Thanks! :: >> (BTW, the definitions of ``prod()`` and ``product()`` are still >> identical as noted by Sebastian Haase some time ago.) >> =20 > Is this a problem? No, but it also caught my eye. :) :: Ivan Vilata i Balaguer >qo< http://www.carabos.com/ C=C3=A1rabos Coop. V. V V Enjoy Data "" |