Description Usage Arguments Value Examples
Calculate cumulative sum
1 | cumul.sum(x)
|
x |
x is a vector |
Returns a vector y where y[i]=sum(x[<i])
1 2 | x = 1:10
cumul.sum(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.