[SciPy-dev] numpy.cumproduct() documentation: bug?

dmitrey openopt@ukr....
Wed Jul 4 03:14:48 CDT 2007

help(cumproduct) says:
Help on function cumproduct in module numpy.core.fromnumeric:

cumproduct(x, axis=None, dtype=None, out=None)
    Sum the array over the given axis.

however, cumproduct([1,2,3,4]) yields
array([ 1,  2,  6, 24])

Btw, what is the difference between cumproduct and cumprod, prod and 

also, I think it would be nice to add cumsum, cumprod, diff to 
http://www.scipy.org/NumPy_for_Matlab_Users page


P.S. doc for numpy.i0(x) and numpy.require() is missing.

All the data above has been taken from

More information about the Scipy-dev mailing list