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

◆ sum_dx() [3/3]

template<typename T1 , typename T2 , typename... Types>
auto stan::math::internal::sum_dx ( T1 &  a,
T2 &  b,
Types &...  args 
)
inline

Accumulate the .dx() from each of the edges in ops_and_partials_impl.

Template Parameters
T1a type with a .dx() method.
T2a type with a .dx() method.
Typesa type with a .dx() method.
Parameters
aan edge from operands_and_partials_impl
ban edge from operands_and_partials_impl
argsedges from operands_and_partials_impl

Definition at line 47 of file operands_and_partials.hpp.