[Numpy-discussion] computing some running sums

Neal Becker ndbecker2@gmail....
Tue Jun 1 08:47:25 CDT 2010


Not sure what to call this.

Any suggestion on computing the vector:

sum(u[i*M:i*M+N]) for i in range (len(u)/M)



More information about the NumPy-Discussion mailing list