Function statrs::function::gamma::gamma_ur[][src]

pub fn gamma_ur(a: f64, x: f64) -> f64

Computes the upper incomplete regularized gamma function Q(a,x) = 1 / Gamma(a) * 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 integral limit.

Remarks

Returns f64::NAN if either argument is f64::NAN

Panics

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