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

◆ chain_one() [1/2]

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

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

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

Definition at line 168 of file precomputed_gradients.hpp.