calcul.io
math playground
New
calculation
Help
Instructions
Examples
Functions
Constants
Display Debug info
Functions
Statistics
cumsum
cumsum
cumsum(a, b, c, ...)
cumsum(A)
Compute the cumulative sum of all values.
Try it yourself:
$1
cumsum(2, 3, 4, 1)
$2
cumsum([2, 3, 4, 1])
$3
cumsum([1, 2; 3, 4])
$4
cumsum([1, 2; 3, 4], 1)
$5
cumsum([1, 2; 3, 4], 2)
See also:
max
mean
median
min
prod
std
sum
variance
All functions