return a matrix of cumumlative sums along the rows or colums
1 | mat_cumul_cpp(x, dim)
|
x |
a numeric matrix |
dim |
1 for rows, 2 for columns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.