Returns accumulated Array of elements using provided function. Defaults to accumulated sum.
(self, l=operator.add)
| 298 | return self |
| 299 | |
| 300 | def accumulate(self, l=operator.add): |
| 301 | """ |
| 302 | Returns accumulated Array of elements using provided function. |
| 303 | Defaults to accumulated sum. |
| 304 | """ |
| 305 | return Array(itertools.accumulate(self, l)) |
| 306 | |
| 307 | def clip(self, _min, _max, inplace=False): |
| 308 | """ |