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

◆ reverse_pass_collect_adjoints()

template<typename Output , typename Input >
void stan::math::internal::reverse_pass_collect_adjoints ( var  ret,
Output &&  output,
Input &&  input 
)
inline

Collects adjoints from a tuple or std::vector of tuples.

Template Parameters
OutputA tuple or std::vector of tuples where all scalar types are var types
InputA tuple or std::vector of tuples where all scalar types are arithmetic types
Parameters
retThe vari object containing the adjoint to be added
outputThe output to which the adjoints will be added
inputThe input from which the adjoints will be collected

Definition at line 988 of file laplace_marginal_density.hpp.