Function statrs::function::gamma::checked_gamma_ui [−][src]
pub fn checked_gamma_ui(a: f64, x: f64) -> Result<f64>
Computes the upper 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 lower intergral limit.
Errors
if a
or x
are not in (0, +inf)