Stan
2.5.0
probability, sampling & optimization
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
stan
math
functions
lgamma.hpp
Go to the documentation of this file.
1
#ifndef STAN__MATH__FUNCTIONS__LGAMMA_HPP
2
#define STAN__MATH__FUNCTIONS__LGAMMA_HPP
3
4
#include <boost/math/special_functions/gamma.hpp>
5
6
namespace
stan {
7
8
namespace
math {
9
30
// throws domain_error if x is at pole
31
double
lgamma
(
double
x) {
32
return
boost::math::lgamma
(x);
33
}
34
35
}
36
}
37
38
#endif
stan::math::lgamma
double lgamma(double x)
Definition:
lgamma.hpp:31
[
Stan Home Page
]
© 2011–2014, Stan Development Team.