IncompleteBeta

IncompleteBeta(a, b, x, tail=False)

Incomplete Beta function.

\forall (a, b) > 0, t \in [0, 1], \quad
\mathrm{B}(x; a, b) = \int_0^x t^{a-1}(1-t)^{b-1}\di{t}

Parameters
a, bfloat \in \Rset^*_+
xfloat
tailbool, optional

By default, tail is False.

Returns
resultfloat
  • If tail is False: result = \mathrm{B}(x; a, b).

  • If tail is True: result = \mathrm{B}(a, b) - \mathrm{B}(x; a, b).