Skip to main content
atoti.array.prefix_sum(
    measure: VariableMeasureConvertible,
    /,
) → MeasureDefinition
Return a measure equal to the sum of the previous elements in the passed array measure. 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].

Parameters

measure

VariableMeasureConvertible