![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/rev/core/chainable_alloc.hpp>#include <stan/math/rev/core/chainablestack.hpp>#include <stan/math/rev/core/empty_nested.hpp>#include <stan/math/rev/core/nested_size.hpp>#include <stan/math/rev/core/vari.hpp>#include <vector>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. | |