Automatic Differentiation
 
Loading...
Searching...
No Matches
grad.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

static void stan::math::grad ()
 Compute the gradient for all variables starting from the end of the AD tape.
 
template<typename Vari >
static void stan::math::grad (Vari *vi)
 Compute the gradient for all variables starting from the specified root variable implementation.