23 public static function IMABS($complexNumber)
29 }
catch (ComplexException $e) {
33 return $complex->abs();
55 }
catch (ComplexException $e) {
59 if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
63 return $complex->argument();
84 }
catch (ComplexException $e) {
88 return (
string) $complex->conjugate();
103 public static function IMCOS($complexNumber)
109 }
catch (ComplexException $e) {
113 return (
string) $complex->cos();
128 public static function IMCOSH($complexNumber)
134 }
catch (ComplexException $e) {
138 return (
string) $complex->cosh();
153 public static function IMCOT($complexNumber)
159 }
catch (ComplexException $e) {
163 return (
string) $complex->cot();
178 public static function IMCSC($complexNumber)
184 }
catch (ComplexException $e) {
188 return (
string) $complex->csc();
203 public static function IMCSCH($complexNumber)
209 }
catch (ComplexException $e) {
213 return (
string) $complex->csch();
228 public static function IMSIN($complexNumber)
234 }
catch (ComplexException $e) {
238 return (
string) $complex->sin();
253 public static function IMSINH($complexNumber)
259 }
catch (ComplexException $e) {
263 return (
string) $complex->sinh();
278 public static function IMSEC($complexNumber)
284 }
catch (ComplexException $e) {
288 return (
string) $complex->sec();
303 public static function IMSECH($complexNumber)
309 }
catch (ComplexException $e) {
313 return (
string) $complex->sech();
328 public static function IMTAN($complexNumber)
334 }
catch (ComplexException $e) {
338 return (
string) $complex->tan();
353 public static function IMSQRT($complexNumber)
359 }
catch (ComplexException $e) {
363 $theta = self::IMARGUMENT($complexNumber);
368 return (
string) $complex->sqrt();
383 public static function IMLN($complexNumber)
389 }
catch (ComplexException $e) {
393 if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
397 return (
string) $complex->ln();
412 public static function IMLOG10($complexNumber)
418 }
catch (ComplexException $e) {
422 if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
426 return (
string) $complex->log10();
441 public static function IMLOG2($complexNumber)
447 }
catch (ComplexException $e) {
451 if ($complex->getReal() == 0.0 && $complex->getImaginary() == 0.0) {
455 return (
string) $complex->log2();
470 public static function IMEXP($complexNumber)
476 }
catch (ComplexException $e) {
480 return (
string) $complex->exp();
496 public static function IMPOWER($complexNumber, $realNumber)
503 }
catch (ComplexException $e) {
507 if (!is_numeric($realNumber)) {
511 return (
string) $complex->pow($realNumber);
static IMLN($complexNumber)
IMLN.
static IMTAN($complexNumber)
IMTAN.
static IMLOG10($complexNumber)
IMLOG10.
static IMSINH($complexNumber)
IMSINH.
static IMSIN($complexNumber)
IMSIN.
static IMCOS($complexNumber)
IMCOS.
static IMARGUMENT($complexNumber)
IMARGUMENT.
static IMLOG2($complexNumber)
IMLOG2.
static IMEXP($complexNumber)
IMEXP.
static IMSEC($complexNumber)
IMSEC.
static IMCONJUGATE($complexNumber)
IMCONJUGATE.
static IMCSC($complexNumber)
IMCSC.
static IMCOSH($complexNumber)
IMCOSH.
static IMSQRT($complexNumber)
IMSQRT.
static IMCSCH($complexNumber)
IMCSCH.
static IMSECH($complexNumber)
IMSECH.
static IMPOWER($complexNumber, $realNumber)
IMPOWER.
static IMCOT($complexNumber)
IMCOT.
static IMABS($complexNumber)
IMABS.
static flattenSingleValue($value='')
Convert an array to a single scalar value by extracting the first element.