19 public static function gamma($value)
26 return $e->getMessage();
29 if ((((
int) $value) == ((
float) $value)) && $value <= 0.0) {
60 return $e->getMessage();
63 if (($value < 0) || ($a <= 0) || ($b <= 0)) {
81 public static function inverse($probability, $alpha, $beta)
92 return $e->getMessage();
95 if (($alpha <= 0.0) || ($beta <= 0.0)) {
111 public static function ln($value)
118 return $e->getMessage();
125 return log(self::gammaValue($value));
An exception for terminatinating execution or to throw for unit testing.
static flattenSingleValue($value='')
Convert an array to a single scalar value by extracting the first element.
static validateProbability($probability)
static calculateDistribution(float $value, float $a, float $b, bool $cumulative)
static gammaValue(float $value)
static calculateInverse(float $probability, float $alpha, float $beta)
static gamma($value)
GAMMA.
static distribution($value, $a, $b, $cumulative)
GAMMADIST.
static inverse($probability, $alpha, $beta)
GAMMAINV.
static ln($value)
GAMMALN.
static validateFloat($value)
static validateBool($value)