Skip to content
Back to formatted view

Raw Message

Message-ID: <f8e6ff050411200920712a31d8@mail.gmail.com>
Date: 2004-11-20T17:20:06Z
From: Hadley Wickham
Subject: Running sum
In-Reply-To: <f8e6ff05041119144472b3854e@mail.gmail.com>

> Perhaps I'm missing something, but isn't the maximum of the cumulative
> sum simply the last value, ie. sum(x)?

As many have mentioned, I was forgetting the negative numbers.  Thanks
to those who pointed that out.

Hadley