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