Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Compute the value and of ReduceFunction
over the range defined by r and accumulate those in member variable sum_.
This function may be called multiple times per object instantiation (so the sum_ must be accumulated, not just assigned).
r | Range over which to compute ReduceFunction |
Definition at line 73 of file reduce_sum.hpp.