Cumulative sum of elements of a array calculation
Example 1: Cumulative sum of elements of a vector
A=
Example 2: Cumulative sum of elements of an array
A=
The size of the input array is:
X