XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ betax()

double betax ( double  a,
double  b,
double  x 
)

Incomplete beta function Bx(a, b)

Purpose
betax computes the incomplete beta function
Bx(a, b) = ∫t^(a-1)*(1-t)^(b-1) dt [0, x]
Returns
Incomplete beta function Bx(a, b).
Parameters
[in]aArgument a. (a > 0)
[in]bArgument b. (b > 0)
[in]xArgument x. (0 <= x <= 1)
Error handling
  • If a <= 0, b <= 0, x < 0 or x > 1, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions