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

◆ init_dependent()

template<typename T >
void stan::math::vari_value< T, require_t< std::is_floating_point< T > > >::init_dependent ( )
inlinenoexcept

Initialize the adjoint for this (dependent) variable to 1.

This operation is applied to the dependent variable before propagating derivatives, setting the derivative of the result with respect to itself to be 1.

Definition at line 169 of file vari.hpp.