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

Matthieu Brucher matthieu.brucher@gmail....
Wed Jul 4 03:16:29 CDT 2007


Hi,

For those discussion on numpy, you should send the mail to a numpy ML ;)

Matthieu

2007/7/4, dmitrey <openopt@ukr.net>:
>
> 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
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20070704/6fb21462/attachment.html 


More information about the Scipy-dev mailing list