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

◆ join()

template<typename ReduceFunction , typename ReturnType , typename Vec , typename... Args>
void stan::math::internal::reduce_sum_impl< ReduceFunction, require_var_t< ReturnType >, ReturnType, Vec, Args... >::recursive_reducer::join ( const recursive_reducer &  rhs)
inline

Join reducers.

Accumuluate the value (sum_) and Jacobian (arg_adoints_) of the other reducer.

Parameters
rhsAnother partial sum

Definition at line 173 of file reduce_sum.hpp.