[SciPy-dev] numpy.cumproduct() documentation: bug?
dmitrey
openopt at ukr.net
Wed Jul 4 04:14:48 EDT 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
product?
also, I think it would be nice to add cumsum, cumprod, diff to
http://www.scipy.org/NumPy_for_Matlab_Users page
D.
P.S. doc for numpy.i0(x) and numpy.require() is missing.
All the data above has been taken from
http://www.scipy.org/Numpy_Example_List_With_Doc
More information about the SciPy-Dev
mailing list