ComplexMath Type

Various mathematical functions for complex numbers.

Static members

Static member Description

ComplexMath.Abs(c)

Full Usage: ComplexMath.Abs(c)

Parameters:
    c : Complex - The complex argument.

Returns: float The absolute value (also called modulus, length, euclidean norm) of the complex number.

The absolute value (modulus) of complex number.

Only for completeness, you can also use

c.GetModulus()

c : Complex

The complex argument.

Returns: float

The absolute value (also called modulus, length, euclidean norm) of the complex number.

ComplexMath.Abs2(c)

Full Usage: ComplexMath.Abs2(c)

Parameters:
    c : Complex - The complex argument.

Returns: float The squared modulus (length^2) of the complex number.

The squared modulus (length^2) of the complex number

Only for completeness, you can also use

c.GetModulusSquared()

c : Complex

The complex argument.

Returns: float

The squared modulus (length^2) of the complex number.

ComplexMath.Absolute(c)

Full Usage: ComplexMath.Absolute(c)

Parameters:
Returns: float

Return the absolute value of a complex type calculated as the euclidean norm

Same as ComplexMath.Abs and provided here for compatibility with some libraries.

c : Complex
Returns: float

ComplexMath.Absolute(c)

Full Usage: ComplexMath.Absolute(c)

Parameters:
Returns: float32

Return the absolute value of a complex type calculated as the euclidean norm

Same as ComplexMath.Abs and provided here for compatibility with some libraries.

c : ComplexFloat
Returns: float32

ComplexMath.Acos(a)

Full Usage: ComplexMath.Acos(a)

Parameters:
    a : Complex - The function argument.

Returns: Complex The complex arccosine of the complex number a.

This function returns the complex arccosine of the complex number a, arccos(a). The branch cuts are on the real axis, less than -1 and greater than 1.

a : Complex

The function argument.

Returns: Complex

The complex arccosine of the complex number a.

ComplexMath.Acos(a)

Full Usage: ComplexMath.Acos(a)

Parameters:
Returns: ComplexFloat The complex arccosine of the complex number a.

This function returns the complex arccosine of the complex number a, arccos(a). The branch cuts are on the real axis, less than -1 and greater than 1.

a : ComplexFloat

The function argument.

Returns: ComplexFloat

The complex arccosine of the complex number a.

ComplexMath.Acos(a)

Full Usage: ComplexMath.Acos(a)

Parameters:
    a : float - The function argument.

Returns: Complex The complex arccosine of the real number a.

This function returns the complex arccosine of the real number a, arccos(a).

For a between -1 and 1, the function returns a real value in the range [0,pi]. For a less than -1 the result has a real part of pi/2 and a negative imaginary part. For a greater than 1 the result is purely imaginary and positive.

a : float

The function argument.

Returns: Complex

The complex arccosine of the real number a.

ComplexMath.Acosh(a)

Full Usage: ComplexMath.Acosh(a)

Parameters:
Returns: Complex The complex hyperbolic arccosine of the complex number a.

This function returns the complex hyperbolic arccosine of the complex number a, arccosh(a). The branch cut is on the real axis, less than 1.

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic arccosine of the complex number a.

ComplexMath.Acosh(a)

Full Usage: ComplexMath.Acosh(a)

Parameters:
Returns: ComplexFloat The complex hyperbolic arccosine of the complex number a.

This function returns the complex hyperbolic arccosine of the complex number a, arccosh(a). The branch cut is on the real axis, less than 1.

a : ComplexFloat

Function argument.

Returns: ComplexFloat

The complex hyperbolic arccosine of the complex number a.

ComplexMath.Acosh(a)

Full Usage: ComplexMath.Acosh(a)

Parameters:
    a : float - Function argument.

Returns: Complex The complex hyperbolic arccosine of the real number a.

This function returns the complex hyperbolic arccosine of the real number a, arccosh(a).

a : float

Function argument.

Returns: Complex

The complex hyperbolic arccosine of the real number a.

ComplexMath.Acot(a)

Full Usage: ComplexMath.Acot(a)

Parameters:
Returns: Complex The complex arccotangent of the complex number a.

This function returns the complex arccotangent of the complex number a, arccot(a) = arctan(1/a).

a : Complex

Function argument.

Returns: Complex

The complex arccotangent of the complex number a.

ComplexMath.Acoth(a)

Full Usage: ComplexMath.Acoth(a)

Parameters:
Returns: Complex The complex hyperbolic arccotangent of the complex number a.

This function returns the complex hyperbolic arccotangent of the complex number a, arccoth(a) = arctanh(1/a).

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic arccotangent of the complex number a.

ComplexMath.Acsc(a)

Full Usage: ComplexMath.Acsc(a)

Parameters:
Returns: Complex The complex arccosecant of the complex number a.

This function returns the complex arccosecant of the complex number a, arccsc(a) = arcsin(1/a).

a : Complex

Function argument.

Returns: Complex

The complex arccosecant of the complex number a.

ComplexMath.Acsc(a)

Full Usage: ComplexMath.Acsc(a)

Parameters:
    a : float - Function argument.

Returns: Complex The complex arccosecant of the real number a.

This function returns the complex arccosecant of the real number a, arccsc(a) = arcsin(1/a).

a : float

Function argument.

Returns: Complex

The complex arccosecant of the real number a.

ComplexMath.Acsch(a)

Full Usage: ComplexMath.Acsch(a)

Parameters:
Returns: Complex The complex hyperbolic arccosecant of the complex number a.

This function returns the complex hyperbolic arccosecant of the complex number a, arccsch(a) = arcsin(1/a).

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic arccosecant of the complex number a.

ComplexMath.Arg(c)

Full Usage: ComplexMath.Arg(c)

Parameters:
    c : Complex - The complex number.

Returns: float The argument (also called phase) of the complex number.

The argument value (also called phase) of a complex number.

Only for completeness, you can also use

c.GetArgument()

c : Complex

The complex number.

Returns: float

The argument (also called phase) of the complex number.

ComplexMath.Arg(c)

Full Usage: ComplexMath.Arg(c)

Parameters:
Returns: float The argument (also called phase) of the complex number.

The argument value (also called phase) of a complex number.

Only for completeness, you can also use

c.GetArgument()

c : ComplexFloat

The complex number.

Returns: float

The argument (also called phase) of the complex number.

ComplexMath.Argument(value)

Full Usage: ComplexMath.Argument(value)

Parameters:
Returns: float

Calculate the complex argument of a complex type. Also commonly refered to as the phase.

value : Complex
Returns: float

ComplexMath.Argument(value)

Full Usage: ComplexMath.Argument(value)

Parameters:
Returns: float32

Calculate the complex argument of a complex type. Also commonly refered to as the phase.

value : ComplexFloat
Returns: float32

ComplexMath.Argument2(value)

Full Usage: ComplexMath.Argument2(value)

Parameters:
Returns: float

Calculate the 2-argument of a complex type.

value : Complex
Returns: float

ComplexMath.Argument2(value)

Full Usage: ComplexMath.Argument2(value)

Parameters:
Returns: float32

Calculate the 2-argument of a complex type.

value : ComplexFloat
Returns: float32

ComplexMath.Asec(a)

Full Usage: ComplexMath.Asec(a)

Parameters:
Returns: Complex The complex arcsecant of the complex number a.

This function returns the complex arcsecant of the complex number a, arcsec(a) = arccos(1/a).

a : Complex

Function argument.

Returns: Complex

The complex arcsecant of the complex number a.

ComplexMath.Asec(a)

Full Usage: ComplexMath.Asec(a)

Parameters:
    a : float - Function argument.

Returns: Complex The complex arcsecant of the real number a.

This function returns the complex arcsecant of the real number a, arcsec(a) = arccos(1/a).

a : float

Function argument.

Returns: Complex

The complex arcsecant of the real number a.

ComplexMath.Asech(a)

Full Usage: ComplexMath.Asech(a)

Parameters:
Returns: Complex The complex hyperbolic arcsecant of the complex number a.

This function returns the complex hyperbolic arcsecant of the complex number a, arcsech(a) = arccosh(1/a).

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic arcsecant of the complex number a.

ComplexMath.Asin(a)

Full Usage: ComplexMath.Asin(a)

Parameters:
    a : Complex - The function argument.

Returns: Complex the complex arcsine of the complex number a.

This function returns the complex arcsine of the complex number a, arcsin(a)}. The branch cuts are on the real axis, less than -1 and greater than 1.

a : Complex

The function argument.

Returns: Complex

the complex arcsine of the complex number a.

ComplexMath.Asin(a)

Full Usage: ComplexMath.Asin(a)

Parameters:
Returns: ComplexFloat the complex arcsine of the complex number a.

This function returns the complex arcsine of the complex number a, arcsin(a)}. The branch cuts are on the real axis, less than -1 and greater than 1.

a : ComplexFloat

The function argument.

Returns: ComplexFloat

the complex arcsine of the complex number a.

ComplexMath.Asin(a)

Full Usage: ComplexMath.Asin(a)

Parameters:
    a : float - The function argument.

Returns: Complex The complex arcsine of the real number a.

This function returns the complex arcsine of the real number a, arcsin(a).

For a between -1 and 1, the function returns a real value in the range -(pi,pi]. For a less than -1 the result has a real part of -pi/2 and a positive imaginary part. For a greater than 1 the result has a real part of pi/2 and a negative imaginary part.

a : float

The function argument.

Returns: Complex

The complex arcsine of the real number a.

ComplexMath.Asinh(a)

Full Usage: ComplexMath.Asinh(a)

Parameters:
Returns: Complex The complex hyperbolic arcsine of the complex number a.

This function returns the complex hyperbolic arcsine of the complex number a, arcsinh(a). The branch cuts are on the imaginary axis, below -i and above i.

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic arcsine of the complex number a.

ComplexMath.Asinh(a)

Full Usage: ComplexMath.Asinh(a)

Parameters:
Returns: ComplexFloat The complex hyperbolic arcsine of the complex number a.

This function returns the complex hyperbolic arcsine of the complex number a, arcsinh(a). The branch cuts are on the imaginary axis, below -i and above i.

a : ComplexFloat

Function argument.

Returns: ComplexFloat

The complex hyperbolic arcsine of the complex number a.

ComplexMath.Atan(a)

Full Usage: ComplexMath.Atan(a)

Parameters:
    a : Complex - The function argument.

Returns: Complex The complex arctangent of the complex number a.

This function returns the complex arctangent of the complex number a, arctan(a)}. The branch cuts are on the imaginary axis, below -i and above i .

a : Complex

The function argument.

Returns: Complex

The complex arctangent of the complex number a.

ComplexMath.Atan(a)

Full Usage: ComplexMath.Atan(a)

Parameters:
Returns: ComplexFloat The complex arctangent of the complex number a.

This function returns the complex arctangent of the complex number a, arctan(a)}. The branch cuts are on the imaginary axis, below -i and above i .

a : ComplexFloat

The function argument.

Returns: ComplexFloat

The complex arctangent of the complex number a.

ComplexMath.Atanh(a)

Full Usage: ComplexMath.Atanh(a)

Parameters:
Returns: Complex The complex hyperbolic arctangent of the complex number a.

This function returns the complex hyperbolic arctangent of the complex number a, arctanh(a). The branch cuts are on the real axis, less than -1 and greater than 1.

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic arctangent of the complex number a.

ComplexMath.Atanh(a)

Full Usage: ComplexMath.Atanh(a)

Parameters:
Returns: ComplexFloat The complex hyperbolic arctangent of the complex number a.

This function returns the complex hyperbolic arctangent of the complex number a, arctanh(a). The branch cuts are on the real axis, less than -1 and greater than 1.

a : ComplexFloat

Function argument.

Returns: ComplexFloat

The complex hyperbolic arctangent of the complex number a.

ComplexMath.Atanh(a)

Full Usage: ComplexMath.Atanh(a)

Parameters:
    a : float - Function argument.

Returns: Complex The complex hyperbolic arctangent of the real number a.

This function returns the complex hyperbolic arctangent of the real number a, arctanh(a).

a : float

Function argument.

Returns: Complex

The complex hyperbolic arctangent of the real number a.

ComplexMath.Conjugate(a)

Full Usage: ComplexMath.Conjugate(a)

Parameters:
Returns: Complex

Return the complex conjugate of a complex type

a : Complex
Returns: Complex

ComplexMath.Conjugate(a)

Full Usage: ComplexMath.Conjugate(a)

Parameters:
Returns: ComplexFloat

Return the complex conjugate of a complex type

a : ComplexFloat
Returns: ComplexFloat

ComplexMath.Cos(z)

Full Usage: ComplexMath.Cos(z)

Parameters:
Returns: Complex The cosine of the specified complex function argument z.

Returns the cosine of the specified complex function argument z.

z : Complex

Function argument.

Returns: Complex

The cosine of the specified complex function argument z.

ComplexMath.Cos(z)

Full Usage: ComplexMath.Cos(z)

Parameters:
Returns: ComplexFloat The cosine of the specified complex function argument z.

Returns the cosine of the specified complex function argument z.

z : ComplexFloat

Function argument.

Returns: ComplexFloat

The cosine of the specified complex function argument z.

ComplexMath.Cosh(a)

Full Usage: ComplexMath.Cosh(a)

Parameters:
Returns: Complex The hyperbolic cosine of the specified complex function argument z.

This function returns the complex hyperbolic cosine of the complex number a, cosh(a) = (exp(a) + exp(-z))/2.

a : Complex

Function argument.

Returns: Complex

The hyperbolic cosine of the specified complex function argument z.

ComplexMath.Cosh(a)

Full Usage: ComplexMath.Cosh(a)

Parameters:
Returns: ComplexFloat The hyperbolic cosine of the specified complex function argument z.

This function returns the complex hyperbolic cosine of the complex number a, cosh(a) = (exp(a) + exp(-z))/2.

a : ComplexFloat

Function argument.

Returns: ComplexFloat

The hyperbolic cosine of the specified complex function argument z.

ComplexMath.Cot(z)

Full Usage: ComplexMath.Cot(z)

Parameters:
    z : Complex - The function argument.

Returns: Complex Complex cotangent of the complex number z, i.e. 1/Tan(z).

Returns the complex cotangent of the complex number z, i.e. 1/Sin(z).

z : Complex

The function argument.

Returns: Complex

Complex cotangent of the complex number z, i.e. 1/Tan(z).

ComplexMath.Coth(a)

Full Usage: ComplexMath.Coth(a)

Parameters:
Returns: Complex The complex hyperbolic cotangent of the complex number a.

This function returns the complex hyperbolic cotangent of the complex number a, coth(a) = 1/tanh(a)}.

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic cotangent of the complex number a.

ComplexMath.Csc(z)

Full Usage: ComplexMath.Csc(z)

Parameters:
    z : Complex - The function argument.

Returns: Complex Complex cosecant of the complex number z, i.e. 1/Sin(z).

Returns the complex cosecant of the complex number z, i.e. 1/Sin(z).

z : Complex

The function argument.

Returns: Complex

Complex cosecant of the complex number z, i.e. 1/Sin(z).

ComplexMath.Csch(a)

Full Usage: ComplexMath.Csch(a)

Parameters:
Returns: Complex The complex hyperbolic cosecant of the complex number a.

This function returns the complex hyperbolic cosecant of the complex number a, csch(a) = 1/sinh(a)}.

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic cosecant of the complex number a.

ComplexMath.Exp(z)

Full Usage: ComplexMath.Exp(z)

Parameters:
    z : Complex - The complex function argument.

Returns: Complex The exponential function of the spezified complex function argument.

Returns the exponential function of the complex function argument.

z : Complex

The complex function argument.

Returns: Complex

The exponential function of the spezified complex function argument.

ComplexMath.Exp(z)

Full Usage: ComplexMath.Exp(z)

Parameters:
Returns: ComplexFloat The exponential function of the spezified complex function argument.

Returns the exponential function of the complex function argument.

z : ComplexFloat

The complex function argument.

Returns: ComplexFloat

The exponential function of the spezified complex function argument.

ComplexMath.Inverse(z)

Full Usage: ComplexMath.Inverse(z)

Parameters:
Returns: Complex Inverse of z, i.e. 1/z.

Returns the inverse of the argument z, i.e. 1/z

z : Complex

The argument.

Returns: Complex

Inverse of z, i.e. 1/z.

ComplexMath.Log(z)

Full Usage: ComplexMath.Log(z)

Parameters:
    z : Complex - The complex function argument.

Returns: Complex The natural (base e) logarithm of the complex function argument.

Returns the natural (base e) logarithm of the complex function argument.

z : Complex

The complex function argument.

Returns: Complex

The natural (base e) logarithm of the complex function argument.

ComplexMath.Log(z)

Full Usage: ComplexMath.Log(z)

Parameters:
Returns: ComplexFloat The natural (base e) logarithm of the complex function argument.

Returns the natural (base e) logarithm of the complex function argument.

z : ComplexFloat

The complex function argument.

Returns: ComplexFloat

The natural (base e) logarithm of the complex function argument.

ComplexMath.Log10(z)

Full Usage: ComplexMath.Log10(z)

Parameters:
    z : Complex - The complex function argument.

Returns: Complex The base 10 logarithm of the complex function argument.

Returns the base 10 logarithm of the complex function argument.

z : Complex

The complex function argument.

Returns: Complex

The base 10 logarithm of the complex function argument.

ComplexMath.LogAbs(z)

Full Usage: ComplexMath.LogAbs(z)

Parameters:
    z : Complex - The complex function argument.

Returns: float log |z|, i.e. the natural logarithm of the absolute value of z.

Return log |z|.

z : Complex

The complex function argument.

Returns: float

log |z|, i.e. the natural logarithm of the absolute value of z.

ComplexMath.Max(v1, v2)

Full Usage: ComplexMath.Max(v1, v2)

Parameters:
Returns: Complex

Given two complex types return the one with the maximum norm

v1 : Complex
v2 : Complex
Returns: Complex

ComplexMath.Max(v1, v2)

Full Usage: ComplexMath.Max(v1, v2)

Parameters:
Returns: ComplexFloat

Given two complex types return the one with the maximum norm

v1 : ComplexFloat
v2 : ComplexFloat
Returns: ComplexFloat

ComplexMath.MultiplyImaginaryNumber(a, y)

Full Usage: ComplexMath.MultiplyImaginaryNumber(a, y)

Parameters:
    a : Complex - First multiplicant.
    y : float - Imaginary part of second multiplicant.

Returns: Complex The product of the complex number a and the imaginary number iy, z=a*(iy).

This function returns the product of the complex number a and the imaginary number iy, z=a*(iy).

a : Complex

First multiplicant.

y : float

Imaginary part of second multiplicant.

Returns: Complex

The product of the complex number a and the imaginary number iy, z=a*(iy).

ComplexMath.MultiplyRealNumber(a, x)

Full Usage: ComplexMath.MultiplyRealNumber(a, x)

Parameters:
    a : Complex - First multiplicant.
    x : float - Real part of second multiplicant.

Returns: Complex The product of the complex number a and the real number x, z=ax.

This function returns the product of the complex number a and the real number x, z=ax.

a : Complex

First multiplicant.

x : float

Real part of second multiplicant.

Returns: Complex

The product of the complex number a and the real number x, z=ax.

ComplexMath.Norm(value)

Full Usage: ComplexMath.Norm(value)

Parameters:
Returns: float

Return the euclidean norm of a complex type

value : Complex
Returns: float

ComplexMath.Norm(value)

Full Usage: ComplexMath.Norm(value)

Parameters:
Returns: float32

Return the euclidean norm of a complex type

value : ComplexFloat
Returns: float32

ComplexMath.Polar(modulus, argument)

Full Usage: ComplexMath.Polar(modulus, argument)

Parameters:
    modulus : float - The modulus (length).
    argument : float - The argument (angle, radian).

Returns: Complex The complex number created from the modulus and argument.

Create a complex number from a modulus (length) and an argument (radian)

modulus : float

The modulus (length).

argument : float

The argument (angle, radian).

Returns: Complex

The complex number created from the modulus and argument.

ComplexMath.Polar(value)

Full Usage: ComplexMath.Polar(value)

Parameters:
Returns: Complex

Return the polar representation of a complex type

value : Complex
Returns: Complex

ComplexMath.Polar(value)

Full Usage: ComplexMath.Polar(value)

Parameters:
Returns: ComplexFloat

Return the polar representation of a complex type

value : ComplexFloat
Returns: ComplexFloat

ComplexMath.Pow(z, p)

Full Usage: ComplexMath.Pow(z, p)

Parameters:
    z : float - A number to be raised to a power.
    p : Complex - A number that specifies a power.

Returns: Complex The number z raised to the power p.

Returns a specified (real valued) number raised to the specified (complex valued) power.

z : float

A number to be raised to a power.

p : Complex

A number that specifies a power.

Returns: Complex

The number z raised to the power p.

ComplexMath.Pow(z, p)

Full Usage: ComplexMath.Pow(z, p)

Parameters:
    z : Complex - A number to be raised to a power.
    p : Complex - A number that specifies a power.

Returns: Complex The number z raised to the power p.

Returns a specified (complex valued) number raised to the specified (complex valued) power.

z : Complex

A number to be raised to a power.

p : Complex

A number that specifies a power.

Returns: Complex

The number z raised to the power p.

ComplexMath.Pow(x, n)

Full Usage: ComplexMath.Pow(x, n)

Parameters:
Returns: Complex

Calculates x^n by repeated multiplications. The algorithm takes ld(n) multiplications. This algorithm can also be used with negative n.

x : Complex

n : int

Returns: Complex

ComplexMath.Pow(a, b)

Full Usage: ComplexMath.Pow(a, b)

Parameters:
    a : Complex - The function argument.
    b : float - The exponent.

Returns: Complex The power of z to the exponent b.

Calculate the power of a complex number.

a : Complex

The function argument.

b : float

The exponent.

Returns: Complex

The power of z to the exponent b.

ComplexMath.Pow(c, exponent)

Full Usage: ComplexMath.Pow(c, exponent)

Parameters:
Returns: ComplexFloat

Calculate the power of a complex number

c : ComplexFloat

exponent : float

Returns: ComplexFloat

ComplexMath.Pow2(c)

Full Usage: ComplexMath.Pow2(c)

Parameters:
Returns: Complex Square of c.

Returns the square of the complex number.

c : Complex

Argument.

Returns: Complex

Square of c.

ComplexMath.Pow3(c)

Full Usage: ComplexMath.Pow3(c)

Parameters:
Returns: Complex 3rd power of c.

Returns the 3rd power of the complex number.

c : Complex

Argument.

Returns: Complex

3rd power of c.

ComplexMath.Pow4(x)

Full Usage: ComplexMath.Pow4(x)

Parameters:
Returns: Complex

x : Complex
Returns: Complex

ComplexMath.Pow5(x)

Full Usage: ComplexMath.Pow5(x)

Parameters:
Returns: Complex

x : Complex
Returns: Complex

ComplexMath.Pow6(x)

Full Usage: ComplexMath.Pow6(x)

Parameters:
Returns: Complex

x : Complex
Returns: Complex

ComplexMath.Pow7(x)

Full Usage: ComplexMath.Pow7(x)

Parameters:
Returns: Complex

x : Complex
Returns: Complex

ComplexMath.Pow8(x)

Full Usage: ComplexMath.Pow8(x)

Parameters:
Returns: Complex

x : Complex
Returns: Complex

ComplexMath.Pow9(x)

Full Usage: ComplexMath.Pow9(x)

Parameters:
Returns: Complex

x : Complex
Returns: Complex

ComplexMath.Sec(a)

Full Usage: ComplexMath.Sec(a)

Parameters:
    a : Complex - The function argument.

Returns: Complex Complex secant of the argument z, i.e. 1/Cos(z).

Returns the complex secant of the argument z, i.e. 1/Cos(z)

a : Complex

The function argument.

Returns: Complex

Complex secant of the argument z, i.e. 1/Cos(z).

ComplexMath.Sech(a)

Full Usage: ComplexMath.Sech(a)

Parameters:
Returns: Complex The complex hyperbolic secant of the complex number a.

This function returns the complex hyperbolic secant of the complex number a, sech(a) = 1/cosh(a).

a : Complex

Function argument.

Returns: Complex

The complex hyperbolic secant of the complex number a.

ComplexMath.Sin(z)

Full Usage: ComplexMath.Sin(z)

Parameters:
Returns: Complex The sine of the specified complex function argument z.

Returns the sine of the specified complex function argument z.

z : Complex

Function argument.

Returns: Complex

The sine of the specified complex function argument z.

ComplexMath.Sin(z)

Full Usage: ComplexMath.Sin(z)

Parameters:
Returns: ComplexFloat The sine of the specified complex function argument z.

Returns the sine of the specified complex function argument z.

z : ComplexFloat

Function argument.

Returns: ComplexFloat

The sine of the specified complex function argument z.

ComplexMath.Sinh(a)

Full Usage: ComplexMath.Sinh(a)

Parameters:
Returns: Complex The hyperbolic sine of the specified complex function argument a.

This function returns the complex hyperbolic sine of the complex number a, sinh(a) = (exp(a) - exp(-a))/2.

a : Complex

Function argument.

Returns: Complex

The hyperbolic sine of the specified complex function argument a.

ComplexMath.Sinh(a)

Full Usage: ComplexMath.Sinh(a)

Parameters:
Returns: ComplexFloat The hyperbolic sine of the specified complex function argument a.

This function returns the complex hyperbolic sine of the complex number a, sinh(a) = (exp(a) - exp(-a))/2.

a : ComplexFloat

Function argument.

Returns: ComplexFloat

The hyperbolic sine of the specified complex function argument a.

ComplexMath.Sqrt(c)

Full Usage: ComplexMath.Sqrt(c)

Parameters:
Returns: ComplexFloat The square root of the complex number c.

Calculate the square root of the complex number c.

c : ComplexFloat

Function argument.

Returns: ComplexFloat

The square root of the complex number c.

ComplexMath.Sqrt(c)

Full Usage: ComplexMath.Sqrt(c)

Parameters:
Returns: Complex The square root of the complex number c.

Calculate the square root of the complex number c.

c : Complex

Function argument.

Returns: Complex

The square root of the complex number c.

ComplexMath.Sqrt(x)

Full Usage: ComplexMath.Sqrt(x)

Parameters:
    x : float - The function argument.

Returns: Complex The square root of the number x.

Calculate the square root of the real number x.

x : float

The function argument.

Returns: Complex

The square root of the number x.

ComplexMath.Swap(a, b)

Full Usage: ComplexMath.Swap(a, b)

Parameters:

Swap two complex numbers

a : byref<Complex>

b : byref<Complex>

ComplexMath.Swap(a, b)

Full Usage: ComplexMath.Swap(a, b)

Parameters:

Swap two complex numbers

a : byref<ComplexFloat>

b : byref<ComplexFloat>

ComplexMath.Tan(z)

Full Usage: ComplexMath.Tan(z)

Parameters:
Returns: Complex The tangent of the specified complex function argument z.

Returns the tangent of the specified complex function argument z.

z : Complex

Function argument.

Returns: Complex

The tangent of the specified complex function argument z.

ComplexMath.Tan(z)

Full Usage: ComplexMath.Tan(z)

Parameters:
Returns: ComplexFloat The tangent of the specified complex function argument z.

Returns the tangent of the specified complex function argument z.

z : ComplexFloat

Function argument.

Returns: ComplexFloat

The tangent of the specified complex function argument z.

ComplexMath.Tanh(a)

Full Usage: ComplexMath.Tanh(a)

Parameters:
Returns: Complex The hyperbolic tangent of the specified complex function argument z.

This function returns the complex hyperbolic tangent of the complex number a, tanh(a) = sinh(a)/cosh(a).

a : Complex

Function argument.

Returns: Complex

The hyperbolic tangent of the specified complex function argument z.

ComplexMath.Tanh(a)

Full Usage: ComplexMath.Tanh(a)

Parameters:
Returns: ComplexFloat The hyperbolic tangent of the specified complex function argument z.

This function returns the complex hyperbolic tangent of the complex number a, tanh(a) = sinh(a)/cosh(a).

a : ComplexFloat

Function argument.

Returns: ComplexFloat

The hyperbolic tangent of the specified complex function argument z.