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

◆ init_dependent()

template<typename T >
void stan::math::vari_value< T, require_all_t< is_plain_type< T >, is_eigen_dense_base< T > > >::init_dependent ( )
inline

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 771 of file vari.hpp.