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

◆ adj() [1/2]

template<typename T >
auto & stan::math::vari_value< T, require_all_t< is_plain_type< T >, is_eigen_dense_base< T > > >::adj ( )
inlinenoexcept

Return a reference to the derivative of the root expression with respect to this expression.

This method only works after one of the grad() methods has been called.

Returns
Adjoint for this vari.

Definition at line 760 of file vari.hpp.