Skip to main content

beta

Function beta 

Source
pub fn beta(a: f64, b: f64) -> f64
Expand description

Beta function $\B(a,b)$

This function is defined as 1:

$$ \B(a,b) = \int_0^1 t^{a-1} (1-t)^{b-1} \dd t = {\Gamma(a)\Gamma(b) \over \Gamma(a+b)} , $$

where $\Gamma$ is the Gamma function.

§See also

  • gamma: Gamma function $\Gamma(x)$
  • betainc: Regularized incomplete Beta function $\I_x(a,b)$
  • betaln: Natural logarithm of the absolute value of the Beta function
  • scipy.special.beta: Corresponding function in SciPy

  1. NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/5.12.E1. ↩