34 return $e->getMessage();
37 if (($value < 0) || ($mean < 0)) {
43 $floor = floor($value);
44 for (
$i = 0;
$i <= $floor; ++
$i) {
48 return exp(0 - $mean) * $summer;
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 fact($factVal)
FACT.
static distribution($value, $mean, $cumulative)
POISSON.
static validateFloat($value)
static validateBool($value)