calca

Open full view…

Cumulative Sums

jare
Sat, 06 May 2017 18:23:17 GMT

I would like to do a cumulative sum of a vector, eg, `cumsum([1,2,3]) => [1,3,6]`. Is there a way to do this with the predefined functions?