Running sums. Equivalent to R's cumsum(). Each partial sum is rounded from an exact accumulator; NaN from the first NaN on.
cumsum()
NaN
cumsum([1, 2, 3, 4]); // [1, 3, 6, 10] Copy
cumsum([1, 2, 3, 4]); // [1, 3, 6, 10]
Running sums. Equivalent to R's
cumsum(). Each partial sum is rounded from an exact accumulator;NaNfrom the firstNaNon.