fn beta_fraction(x: f64, a: f64, b: f64) -> f64
The continued fraction of the incomplete beta function (modified Lentz).