atoti.array.prefix_sum module#

atoti.array.prefix_sum(measure)#

Return a measure equal to the sum of the previous elements in the passed array measure.

Example

If an array has the following values: [2.0, 1.0, 0.0, 3.0], the returned array will be: [2.0, 3.0, 3.0, 6.0].

Return type

MeasureDescription