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

◆ adj() [1/2]

template<typename T >
auto & stan::math::vari_value< T, require_t< std::is_floating_point< T > > >::adj ( ) const
inline

Return a reference of 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 149 of file vari.hpp.