MathPHP\Probability\Distribution\Continuous\Uniform::mean PHP Метод

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

a + b μ = ----- 2
public static mean ( number $a, number $b ) : number
$a number lower boundary of the distribution
$b number upper boundary of the distribution
Результат number
    public static function mean($a, $b)
    {
        return ($a + $b) / 2;
    }