Cumulative sum of a vector. Data type is Integer
function cumSumInt input Integer i_v[:] = {1, 2, 3, 4} "Input vector"; output Integer o_v[size(i_v, 1)] "Output vector"; end cumSumInt;