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

pub fn checked_gamma_ur(a: f64, x: f64) -> Result<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

Errors

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