24 public static function IMDIV($complexDividend, $complexDivisor)
31 }
catch (ComplexException $e) {
49 public static function IMSUB($complexNumber1, $complexNumber2)
56 }
catch (ComplexException $e) {
73 public static function IMSUM(...$complexNumbers)
81 foreach ($aArgs as $complex) {
82 $returnValue = $returnValue->add(
new ComplexObject($complex));
84 }
catch (ComplexException $e) {
88 return (
string) $returnValue;
111 foreach ($aArgs as $complex) {
112 $returnValue = $returnValue->multiply(
new ComplexObject($complex));
114 }
catch (ComplexException $e) {
118 return (
string) $returnValue;
static IMDIV($complexDividend, $complexDivisor)
IMDIV.
static IMSUB($complexNumber1, $complexNumber2)
IMSUB.
static flattenArray($array)
Convert a multi-dimensional array to a simple 1-dimensional array.
static IMPRODUCT(... $complexNumbers)
IMPRODUCT.
static IMSUM(... $complexNumbers)
IMSUM.
static flattenSingleValue($value='')
Convert an array to a single scalar value by extracting the first element.