Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
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 
10  // throws domain_error if x is at pole
11  double lgamma(double x) {
12  return boost::math::lgamma(x);
13  }
14 
15  }
16 }
17 
18 #endif

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