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

◆ ibeta()

double ibeta ( double  a,
double  b,
double  x 
)

Normalized incomplete beta function Ix(a, b)

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