Re: [Numpy-discussion] numpy.prod() vs. numpy.product()

2006-07-24 Thread Bill Baxter
I can't answer why, but in oldnumeric.py, you can see there's two different fuctions with basically identical code, so yes they are distinct, but no they are not different. Seems like prod could be replaced by prod=product. def product (x, axis=0, dtype=None): """Product of the array elements

[Numpy-discussion] numpy.prod() vs. numpy.product()

2006-07-24 Thread Sebastian Haase
Hi, Are numpy.product() and numpy.prod() doing the exact same thing ? If yes, why are they pointing to two different functions ? >>> N.prod >>> N.product Thanks, Sebastian Haase - Take Surveys. Earn Cash. Influence the Fut