Documentation about cumprod(A): wrong description of result's size
Reported by Timo Stripf
BUG DESCRIPTION:
----------------
In the documentation about y=cumsum(x), it is stated that it
"returns in the scalar y the cumulative sum of all the elements of x."
This is a copy-and-paste from "sum". The description is wrong, since no scalar is returned.
The matrix x is returned with cumulative sums along the linear indexing of x.
I think the documentation about cumsum(x) should be more precise.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
OTHER INFORMATION:
------------------
Same for cumprod.
Edited by Samuel GOUGEON