cumPositiveStreak#

swordfish.function.cumPositiveStreak()#

Cumulatively calculate the sum of consecutive positive elements of X after the last non-positive element to the left.

Parameters:

X (Constant) – A scalar/vector/matrix/table/tuple (with scalars or equal-length vectors)/dictionary.