Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ collect_adjoints() [2/3]

template<typename Output , typename Input , require_t< is_all_arithmetic_scalar< Output > > * = nullptr, require_t< is_all_arithmetic_scalar< Input > > * = nullptr>
void stan::math::internal::collect_adjoints ( Output &&  output,
Input &&  input 
)
inline

Collects the adjoints from the input and adds them to the output.

Template Parameters
OutputA tuple or type where all scalar types are arithmetic types
InputA tuple or type where all scalar types are arithmetic types
Parameters
outputThe output to which the adjoints will be added
inputThe input from which the adjoints will be collected

Definition at line 823 of file laplace_marginal_density.hpp.