pub fn beta(a: f64, b: f64) -> f64Expand 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 functionscipy.special.beta: Corresponding function in SciPy
NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/5.12.E1. ↩