Re: best cumulative sum



David Isaac wrote:
<bonono@xxxxxxxxx> wrote in message
news:1132553397.042444.147660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

He seems to want scanl


Yes.  But it's not in Python, right?
(I know about Keller's version.)

Robert Kern wrote:

Define better. More accurate? Less code?


Good point.
As Bonono (?) suggested: I'd most like a solution that
relies on a built-in to give me both of those.
(Pretty is good too.)  Like SciPy's cumsum.

Thanks,
Alan Isaac


Doesn't numarray handle this?

Colin W.
.