26 public static function PERMUT($numObjs, $numInSet)
35 return $e->getMessage();
38 if ($numObjs < $numInSet) {
66 return $e->getMessage();
69 if ($numObjs < 0 || $numInSet < 0) {
73 $result = $numObjs ** $numInSet;
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 PERMUT($numObjs, $numInSet)
PERMUT.
static PERMUTATIONA($numObjs, $numInSet)
PERMUTATIONA.
static validateInt($value)
static evaluate($value)
Help some functions with large results operate correctly on 32-bit, by returning result as int when p...