Calculates a cumulative sum of an array:
Example:
input u = {0.2,0.2,0.2,0.2,0.2};
output y = {0.2,0.4,0.6,0.8,1.0}
function cumulativeSum extends TRANSFORM.Icons.Function; input Real u[:]; output Real y[size(u, 1)]; end cumulativeSum;