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

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

Upper incomplete gamma function

γ(a, x) = ∫0xta-1e-tdt

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

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_u(a, x);