Given a vector (a) and another vector of bucket sizes, returns the summed vector (a)

sum_buckets(a, buckets)

Arguments

a

the vector to be bucketed

buckets

the vector of bucket sizes to sum a over

Value

the vector of summed a