| Stan Math Library 2.12.0 reverse mode automatic differentiation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

lgamma.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_FUN_LGAMMA_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_LGAMMA_HPP
3
4 #include <boost/math/special_functions/gamma.hpp>
5
6 namespace stan {
7 namespace math {
8
30 inline double lgamma(double x) {
31 return boost::math::lgamma(x);
32 }
33
34 }
35 }
36 #endif
stan::math::lgamma
fvar< T > lgamma(const fvar< T > &x)
Definition: lgamma.hpp:14
stan
Definition: log_sum_exp.hpp:8
stan::math::lgamma
var lgamma(const var &a)
The log gamma function for variables (C99).
Definition: lgamma.hpp:35

[ Stan Home Page ] © 2011–2016, Stan Development Team.