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