Function peroxide::checked_gamma_li

source ·
pub fn checked_gamma_li(a: f64, x: f64) -> Result<f64, StatsError>
Expand description

Computes the lower incomplete gamma function gamma(a,x) = int(exp(-t)t^(a-1), t=0..x) for a > 0, x > 0 where a is the argument for the gamma function and x is the upper integral limit.

Errors

if a or x are not in (0, +inf)