Stan Math Library  2.20.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 
5 #include <boost/math/special_functions/beta.hpp>
6 
7 namespace stan {
8 namespace math {
9 
10 inline double inc_beta(double a, double b, double x) {
11  using boost::math::ibeta;
12  return ibeta(a, b, x);
13 }
14 
15 } // namespace math
16 } // namespace stan
17 #endif
fvar< T > inc_beta(const fvar< T > &a, const fvar< T > &b, const fvar< T > &x)
Definition: inc_beta.hpp:18
double ibeta(double a, double b, double x)
The normalized incomplete beta function of a, b, and x.
Definition: ibeta.hpp:24

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