culations. The arguments to the partial sum function are:</p>
<ul>
<li><p><em><code>x_subset</code></em>, the subset of <code>x</code> a given partial sum is responsible for computing, type <code>T[]</code>, where <code>T</code> matches the type of <code>x</code> in <code>reduce_sum</code> (<code>reduce_sum_static</code>)</p></li>
<li><p><em><code>start</code></em>, the index of the first term of the partial sum, type <code>int</code></p></li>
<li><p><em><code>end</code></em>, the index of the last term of 