C++ function for cumulative sum (replacing R cumsum)

cumsum_cpp(x)

Arguments

x

Numerical Vector