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

◆ sum_dx() [2/2]

template<typename... Types>
constexpr auto stan::math::internal::sum_dx ( Types &...  args)
inlineconstexpr

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 37 of file operands_and_partials.hpp.