Stan Math Library  2.11.0
reverse mode automatic differentiation
gamma_q.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_FUN_GAMMA_Q_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_GAMMA_Q_HPP
3 
4 #include <boost/math/special_functions/gamma.hpp>
5 
6 namespace stan {
7 
8  namespace math {
9 
52  // throws domain_error if x is at pole
53  inline double gamma_q(double x, double a) {
54  return boost::math::gamma_q(x, a);
55  }
56 
57  }
58 }
59 
60 #endif
var gamma_q(const double &a, const stan::math::var &b)
Definition: gamma_q.hpp:68
fvar< T > gamma_q(const fvar< T > &x1, const fvar< T > &x2)
Definition: gamma_q.hpp:15

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