Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/prim/fun/trigamma.hpp>
#include <stan/math/prim/fun/digamma.hpp>
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 | |
var | stan::math::digamma (const var &a) |
Return the derivative of the log gamma function at the specified value. | |
template<typename T , require_var_matrix_t< T > * = nullptr> | |
auto | stan::math::digamma (const T &a) |
Return the elementwise derivative of the log gamma function at the given input vector. | |