You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(T[] x_subset, int start, int end, T1 s1, T2 s2, ...):real
468
468
```
469
469
470
470
The partial sum function returns the sum of the `start` to `end` terms (inclusive) of the overall
471
471
calculations. The arguments to the partial sum function are:
472
472
473
+
**`x_subset`*, the subset of `x` a given partial sum is responsible for computing, type `T[]`, where `T` matches the type of `x` in `reduce_sum` (`reduce_sum_static`)
474
+
473
475
**`start`*, the index of the first term of the partial sum, type `int`
474
476
475
477
**`end`*, the index of the last term of the partial sum (inclusive), type `int`
476
478
477
-
**`x_subset`*, the subset of `x` a given partial sum is responsible for computing, type `T[]`, where `T` matches the type of `x` in `reduce_sum` (`reduce_sum_static`)
478
-
479
479
**`s1`*, first shared argument, type `T1`, matching type of `s1` in `reduce_sum` (`reduce_sum_static`)
480
480
481
481
**`s2`*, second shared argument, type `T2`, matching type of `s2` in `reduce_sum` (`reduce_sum_static`)
0 commit comments