Running sum
On Fri, 2004-11-19 at 18:00 -0600, Douglas Bates 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.
On Fri, 2004-11-19 at 20:00 -0400, Kjetil Brinchmann Halvorsen wrote:
Please, Please, please, ... was it ever said that the numbers was only positive?
Thanks to both Doug and Kjetil. I stand corrected. Marc