pub fn checked_beta_inc(a: f64, b: f64, x: f64) -> Result<f64, BetaFuncError>Expand description
Computes the lower incomplete (unregularized) beta function
B(a,b,x) = int(t^(a-1)*(1-t)^(b-1),t=0..x) for a > 0, b > 0, 1 >= x >= 0
where a is the first beta parameter, b is the second beta parameter, and
x is the upper limit of the integral
ยงErrors
If a <= 0.0, b <= 0.0, x < 0.0, or x > 1.0