Skip to main content

builtin_gamma

Function builtin_gamma 

Source
fn builtin_gamma(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Gamma function.

Computes the gamma function, which extends factorial to real numbers: gamma(n) = (n-1)! for positive integers.

@param x numeric vector @return numeric vector of gamma values