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

void stan::math::grad (var &v, var_value< matrix_cl< double > > &x, Eigen::VectorXd &g)
 Propagate chain rule to calculate gradients starting from the specified variable.