pöördsummafunktsioon
Pöördsummafunktsioon, also known as the inverse summation function or cumulative distribution function in some contexts, describes the relationship between a cumulative value and the original sequence of numbers that generated it. It essentially allows one to reverse the process of summation. If we have a sequence of numbers $x_1, x_2, x_3, \dots$ and a corresponding sequence of cumulative sums $S_1, S_2, S_3, \dots$ where $S_n = \sum_{i=1}^n x_i$, the pöördsummafunktsioon aims to recover the original $x_i$ from the $S_n$.
The fundamental operation of the pöördsummafunktsioon is subtraction. Given a cumulative sum $S_n$, the previous cumulative