powered by
A function to get the segment sums of a vector given some changes including n
getSegSums_(x, tau)
data
changes (including n)
a vector of the sums