Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ operator()()

template<typename ReduceFunction , typename ReturnType , typename Vec , typename... Args>
void stan::math::internal::reduce_sum_impl< ReduceFunction, require_arithmetic_t< ReturnType >, ReturnType, Vec, Args... >::recursive_reducer::operator() ( const tbb::blocked_range< size_t > &  r)
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).

Parameters
rRange over which to compute ReduceFunction

Definition at line 73 of file reduce_sum.hpp.