ComplexFunctions Uses ArrayEnabled
Table of Contents
- $arrayArgumentHelper : ArrayArgumentHelper
- IMABS() : array<string|int, mixed>|float|string
- IMABS.
- IMARGUMENT() : array<string|int, mixed>|float|string
- IMARGUMENT.
- IMCONJUGATE() : array<string|int, mixed>|string
- IMCONJUGATE.
- IMCOS() : array<string|int, mixed>|float|string
- IMCOS.
- IMCOSH() : array<string|int, mixed>|float|string
- IMCOSH.
- IMCOT() : array<string|int, mixed>|float|string
- IMCOT.
- IMCSC() : array<string|int, mixed>|float|string
- IMCSC.
- IMCSCH() : array<string|int, mixed>|float|string
- IMCSCH.
- IMEXP() : array<string|int, mixed>|string
- IMEXP.
- IMLN() : array<string|int, mixed>|string
- IMLN.
- IMLOG10() : array<string|int, mixed>|string
- IMLOG10.
- IMLOG2() : array<string|int, mixed>|string
- IMLOG2.
- IMPOWER() : array<string|int, mixed>|string
- IMPOWER.
- IMSEC() : array<string|int, mixed>|float|string
- IMSEC.
- IMSECH() : array<string|int, mixed>|float|string
- IMSECH.
- IMSIN() : array<string|int, mixed>|float|string
- IMSIN.
- IMSINH() : array<string|int, mixed>|float|string
- IMSINH.
- IMSQRT() : array<string|int, mixed>|string
- IMSQRT.
- IMTAN() : array<string|int, mixed>|float|string
- IMTAN.
- evaluateArrayArguments() : array<string|int, mixed>
- evaluateArrayArgumentsSubset() : array<string|int, mixed>
- evaluateSingleArgumentArray() : array<string|int, mixed>
- initialiseHelper() : void
Properties
$arrayArgumentHelper
private
static ArrayArgumentHelper
$arrayArgumentHelper
Methods
IMABS()
IMABS.
public
static IMABS(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format.
Excel Function: IMABS(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the absolute value Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMARGUMENT()
IMARGUMENT.
public
static IMARGUMENT(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the argument theta of a complex number, i.e. the angle in radians from the real axis to the representation of the number in polar coordinates.
Excel Function: IMARGUMENT(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the argument theta Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMCONJUGATE()
IMCONJUGATE.
public
static IMCONJUGATE(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|string
Returns the complex conjugate of a complex number in x + yi or x + yj text format.
Excel Function: IMCONJUGATE(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the conjugate Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMCOS()
IMCOS.
public
static IMCOS(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the cosine of a complex number in x + yi or x + yj text format.
Excel Function: IMCOS(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the cosine Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMCOSH()
IMCOSH.
public
static IMCOSH(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the hyperbolic cosine of a complex number in x + yi or x + yj text format.
Excel Function: IMCOSH(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the hyperbolic cosine Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMCOT()
IMCOT.
public
static IMCOT(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the cotangent of a complex number in x + yi or x + yj text format.
Excel Function: IMCOT(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the cotangent Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMCSC()
IMCSC.
public
static IMCSC(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the cosecant of a complex number in x + yi or x + yj text format.
Excel Function: IMCSC(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the cosecant Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMCSCH()
IMCSCH.
public
static IMCSCH(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the hyperbolic cosecant of a complex number in x + yi or x + yj text format.
Excel Function: IMCSCH(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the hyperbolic cosecant Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMEXP()
IMEXP.
public
static IMEXP(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|string
Returns the exponential of a complex number in x + yi or x + yj text format.
Excel Function: IMEXP(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the exponential Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMLN()
IMLN.
public
static IMLN(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|string
Returns the natural logarithm of a complex number in x + yi or x + yj text format.
Excel Function: IMLN(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the natural logarithm Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMLOG10()
IMLOG10.
public
static IMLOG10(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|string
Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format.
Excel Function: IMLOG10(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the common logarithm Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMLOG2()
IMLOG2.
public
static IMLOG2(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|string
Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.
Excel Function: IMLOG2(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the base-2 logarithm Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMPOWER()
IMPOWER.
public
static IMPOWER(array<string|int, mixed>|string $complexNumber, array<string|int, mixed>|float|int|string $realNumber) : array<string|int, mixed>|string
Returns a complex number in x + yi or x + yj text format raised to a power.
Excel Function: IMPOWER(complexNumber,realNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number you want to raise to a power Or can be an array of values
- $realNumber : array<string|int, mixed>|float|int|string
-
the power to which you want to raise the complex number Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMSEC()
IMSEC.
public
static IMSEC(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the secant of a complex number in x + yi or x + yj text format.
Excel Function: IMSEC(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the secant Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMSECH()
IMSECH.
public
static IMSECH(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the hyperbolic secant of a complex number in x + yi or x + yj text format.
Excel Function: IMSECH(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the hyperbolic secant Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMSIN()
IMSIN.
public
static IMSIN(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the sine of a complex number in x + yi or x + yj text format.
Excel Function: IMSIN(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the sine Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMSINH()
IMSINH.
public
static IMSINH(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the hyperbolic sine of a complex number in x + yi or x + yj text format.
Excel Function: IMSINH(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the hyperbolic sine Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMSQRT()
IMSQRT.
public
static IMSQRT(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|string
Returns the square root of a complex number in x + yi or x + yj text format.
Excel Function: IMSQRT(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the square root Or can be an array of values
Return values
array<string|int, mixed>|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
IMTAN()
IMTAN.
public
static IMTAN(array<string|int, mixed>|string $complexNumber) : array<string|int, mixed>|float|string
Returns the tangent of a complex number in x + yi or x + yj text format.
Excel Function: IMTAN(complexNumber)
Parameters
- $complexNumber : array<string|int, mixed>|string
-
the complex number for which you want the tangent Or can be an array of values
Return values
array<string|int, mixed>|float|string —If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions
evaluateArrayArguments()
protected
static evaluateArrayArguments(callable $method, mixed ...$arguments) : array<string|int, mixed>
Parameters
- $method : callable
- $arguments : mixed
Return values
array<string|int, mixed> —evaluateArrayArgumentsSubset()
protected
static evaluateArrayArgumentsSubset(callable $method, int $limit, mixed ...$arguments) : array<string|int, mixed>
Parameters
- $method : callable
- $limit : int
- $arguments : mixed
Return values
array<string|int, mixed> —evaluateSingleArgumentArray()
protected
static evaluateSingleArgumentArray(callable $method, array<string|int, mixed> $values) : array<string|int, mixed>
Parameters
- $method : callable
- $values : array<string|int, mixed>
Return values
array<string|int, mixed> —initialiseHelper()
private
static initialiseHelper(array<string|int, mixed> $arguments) : void
Parameters
- $arguments : array<string|int, mixed>