Efficient Computation of Time-Index Powered Weighted Sums Using Cascaded Accumulators
Deijany Rodriguez Linares, Oksana Moryakova, Håkan Johansson
TL;DR
The paper addresses efficient real-time computation of time-indexed weighted sums $S = \sum_{n=0}^{N-1} n^{K} v[n]$ by introducing a cascade of $K+1$ accumulators. It proves that $S$ can be expressed as $S = \sum_{k=1}^{K+1} c_k A_k[N-1]$ with $A_k[N-1]$ the accumulators' outputs and closed-form coefficients $c_k = \sum_{j=0}^{k-1} (-1)^j \binom{k-1}{j} (N + j)^K$, enabling only $K+1$ multiplications after accumulation. This yields a real-time, storage-light solution that avoids forming $n^K$ or buffering the input, reducing multiplicative complexity from $M\times N$ to a constant $K+1$ multiplications. Hardware analysis shows substantial resource savings and feasibility for streaming, low-power DSP systems, particularly when $N$ is large or memory is constrained.
Abstract
This letter presents a novel approach for \mbox{efficiently} computing time-index powered weighted sums of the form $\sum_{n=0}^{N-1} n^{K} v[n]$ using cascaded accumulators. Traditional direct computation requires $K{\times}N$ general multiplications, which become prohibitive for large $N$, while alternative strategies based on lookup tables or signal reversal require storing entire data blocks. By exploiting accumulator properties, the proposed method eliminates the need for such storage and reduces the multiplicative cost to only $K{+}1$ constant multiplications, enabling efficient real-time implementation. The approach is particularly useful when such sums need to be efficiently computed in sample-by-sample processing systems.
