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

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

Lower regularized incomplete gamma function

Q(a, x) = Γ(a, x) / Γ(a)

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

https://people.sc.fsu.edu/~jburkardt/c_src/asa239/asa239.c

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);