pub fn gammasgn(x: f64) -> f64Expand description
Sign of the Gamma function, $\sgn \Gamma(x)$
Since the Gamma function is never zero, this is always either 1.0 or -1.0 (or f64::NAN).
ยงSee also
gamma: Gamma function $\Gamma(z)$gammaln: Natural logarithm of the absolute value of the gamma functionscipy.special.gammasgn: Corresponding function in SciPy