code: public static function MULTINOMIAL(...$args)
      {
          $summer = 0;
          $divisor = 1;
          // Loop through arguments
          foreach (Functions::flattenArray($args) as $arg) {
              // Is it a numeric value?
              if (is_numeric($arg)) {
                  if ($arg < 1) {
                      return Functions::NAN();
                  }
                  $summer += floor($arg);
                  $divisor *= self::FACT($arg);
              } else {
                  return Functions::VALUE();
              }
          }
  
          // Return
          if ($summer > 0) {
              $summer = self::FACT($summer);
  
              return $summer / $divisor;
          }
  
          return 0;
      }
docs: MULTINOMIAL.
  
  Returns the ratio of the factorial of a sum of values to the product of factorials.
  
  @param array of mixed Data Series
  
  @return float