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

◆ adj() [1/2]

template<typename T >
auto & stan::math::vari_view< T, require_all_t< is_eigen< T >, bool_constant<!is_plain_type< T >::value > > >::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 625 of file vari.hpp.