Trait extra_math::gamma::Gamma
source · pub trait Gamma: Float {
// Required methods
fn gamma(self) -> Self;
fn lower_gamma_regularized(self, x: Self) -> Self;
// Provided methods
fn ln_gamma(self) -> Self { ... }
fn upper_gamma_regularized(self, x: Self) -> Self { ... }
fn upper_gamma_incomplete(self, x: Self) -> Self { ... }
fn lower_gamma_incomplete(self, x: Self) -> Self { ... }
}Expand description
Trait implementing the gamma functions
Required Methods§
sourcefn lower_gamma_regularized(self, x: Self) -> Self
fn lower_gamma_regularized(self, x: Self) -> Self
Returns the lower incomplete regularized gamma function P(a, x)
Provided Methods§
sourcefn upper_gamma_regularized(self, x: Self) -> Self
fn upper_gamma_regularized(self, x: Self) -> Self
Returns the upper incomplete regularized gamma function Q(a, x)
sourcefn upper_gamma_incomplete(self, x: Self) -> Self
fn upper_gamma_incomplete(self, x: Self) -> Self
Returns the upper incomplete gamma function Q(a, x)
sourcefn lower_gamma_incomplete(self, x: Self) -> Self
fn lower_gamma_incomplete(self, x: Self) -> Self
Returns the lower incomplete gamma function P(a, x)
Object Safety§
This trait is not object safe.