best cumulative sum
Colin J. Williams
cjw at sympatico.ca
Mon Nov 21 18:31:06 CET 2005
David Isaac wrote:
> <bonono at gmail.com> wrote in message
> news:1132553397.042444.147660 at g44g2000cwa.googlegroups.com...
>>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.
> Alan Isaac
Doesn't numarray handle this?
More information about the Python-list