28            if (is_numeric($arg)) {
 
   55        foreach ($aArgs as $k => $arg) {
 
   57            if (is_numeric($arg) || empty($arg)) {
 
   58                if (is_string($arg)) {
 
   62            } elseif (is_bool($arg)) {
 
   63                $returnValue += (int) $arg;
 
   90        $wrkCellCount = count($wrkArray);
 
   92        for (
$i = 0; 
$i < $wrkCellCount; ++
$i) {
 
   93            if ((!is_numeric($wrkArray[
$i])) || (is_string($wrkArray[
$i]))) {
 
   98        foreach ($arrayList as $matrixData) {
 
  100            $count = count($array2);
 
  101            if ($wrkCellCount != $count) {
 
  105            foreach ($array2 as 
$i => $val) {
 
  106                if ((!is_numeric($val)) || (is_string($val))) {
 
  109                $wrkArray[
$i] *= $val;
 
  113        return array_sum($wrkArray);
 
An exception for terminatinating execution or to throw for unit testing.
static flattenArray($array)
Convert a multi-dimensional array to a simple 1-dimensional array.
static flattenArrayIndexed($array)
Convert a multi-dimensional array to a simple 1-dimensional array, but retain an element of indexing.
static isError($value='')
IS_ERROR.
static product(... $args)
SUMPRODUCT.
static sumErroringStrings(... $args)
SUM, returning error for non-numeric strings.
static sumIgnoringStrings(... $args)
SUM, ignoring non-numeric non-error strings.