chickadee » generalized-arrays » array-cumulate

array-cumulate proc seed array axisprocedure

Returns a newly allocated array whose bounds are the same as the bounds of array. Each element along axis is constructed by reducing (as if by array-reduce) successive prefixes of the elements of array along that axis. (APL scan.)