Stan Math Library  2.12.0
reverse mode automatic differentiation
inc_beta.hpp
Go to the documentation of this file.
1 #ifndef STAN_MATH_PRIM_SCAL_FUN_INC_BETA_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_INC_BETA_HPP
3 
4 #include <boost/math/special_functions/beta.hpp>
5 
6 namespace stan {
7  namespace math {
8 
9  inline double inc_beta(double a,
10  double b,
11  double x) {
12  using boost::math::ibeta;
13  return ibeta(a, b, x);
14  }
15 
16  }
17 }
18 #endif
double ibeta(const double a, const double b, const double x)
The normalized incomplete beta function of a, b, and x.
Definition: ibeta.hpp:23
fvar< T > inc_beta(const fvar< T > &a, const fvar< T > &b, const fvar< T > &x)
Definition: inc_beta.hpp:19

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