Skip to content
Prev 59465 / 398502 Next

Running sum

Marc Schwartz wrote:
I have forgotten the details of the original question but it seems to me 
that if the elements of x could be both positive and negative then the 
maximum of the cumulative sum doesn't have to be the last sum.