MathPHP\Functions\Special::upperIncompleteGamma PHP Метод

upperIncompleteGamma() публичный статический Метод

Upper Incomplete Gamma Function - Γ(s,x) https://en.wikipedia.org/wiki/Incomplete_gamma_function
public static upperIncompleteGamma ( number $s, number $x ) : number
$s number shape parameter > 0
$x number lower limit of integration
Результат number
    public static function upperIncompleteGamma($s, $x)
    {
        if ($s <= 0) {
            throw new Exception\OutOfBoundsException("S must be > 0. S = {$s}");
        }
        return self::gamma($s) - self::lowerIncompleteGamma($s, $x);
    }