[][src]Function mathru::special::gamma::gamma_ur

pub fn gamma_ur<T>(a: T, x: T) -> T where
    T: Real

Upper incomplete regularized gamma function

P(a, x) = γ(a,x) / Γ(a)

Fore more information: https://en .wikipedia.org/wiki/Incomplete_gamma_function#Regularized_Gamma_functions_and_Poisson_random_variables

Arguments

  • a
  • x

Example

extern crate mathru;
use mathru::special::gamma;

let a: f64 = 0.5_f64;
let x: f64 = 0.3_f64;

let gamma_u: f64 = gamma::gamma_ur(a, x);