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

◆ adj() [1/2]

template<typename T >
auto & stan::math::var_value< T, require_floating_point_t< T > >::adj ( ) const
inlinenoexcept

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 variable.

Definition at line 105 of file var.hpp.