Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ inc_beta() [8/10]

double stan::math::inc_beta ( double  a,
double  b,
double  x 
)
inline

The normalized incomplete beta function of a, b, with outcome x.

Used to compute the cumulative density function for the beta distribution.

Parameters
aShape parameter a >= 0; a and b can't both be 0
bShape parameter b >= 0
xRandom variate. 0 <= x <= 1
Exceptions
ifconstraints are violated or if any argument is NaN
Returns
The normalized incomplete beta function.

Definition at line 25 of file inc_beta.hpp.