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

pub fn gamma_l<T>(a: T, x: T) -> T where
    T: Real + Gamma

Lower incomplete gamma function

\gamma(s,x) = \int_0^x t^{s-1}\,\mathrm{e}^{-t}\,{\rm d}t

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

Arguments

  • a
  • x

Example

use mathru::special::gamma;

let a: f64 = 0.5_f64;
let x: f64 = 0.3_f64;
let gamma_l: f64 = gamma::gamma_l(a, x);