pub fn beta(a: f64, b: f64) -> f64Expand description
The beta function B(a, b) = Γ(a)Γ(b)/Γ(a+b).
For positive arguments the result is accurate across the whole range (it switches to logarithms to avoid overflow). For other real arguments the gamma ratio is used directly.