moving-sum ( u n -- v )


Vocabulary
math.extras

Definition
USING: grouping sequences ;

IN: math.extras

: moving-sum ( u n -- v ) <clumps> [ sum ] map ;