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

◆ chain_one() [2/2]

template<typename ContainerOperands = std::tuple<>, typename ContainerGradients = std::tuple<>>
template<typename Op , typename OpAlloc , typename Grad , typename GradAlloc >
void stan::math::precomputed_gradients_vari_template< ContainerOperands, ContainerGradients >::chain_one ( const std::vector< Op, OpAlloc > &  op,
const std::vector< Grad, GradAlloc > &  grad 
)
inlineprivate

Implements the chain rule for one std::vector operand.

Template Parameters
Optype of the operand element
Gradtype of the gradient element
Parameters
opoperand
gradgradient

Definition at line 180 of file precomputed_gradients.hpp.