Function rv::misc::gammafn

source ·
pub fn gammafn(x: f64) -> f64
Expand description

Gamma function, Γ(x)

§Example

use rv::misc::gammafn;

assert!((gammafn(4.0) - 6.0) < 1E-12);

§Notes

This function is a wrapper around special::Gamma::gamma.. The name gamma is reserved for possible future use in standard libraries. This function is purely to avoid warnings resulting from this.