complex

Mathematical functions for complex numbers.

Summary
complexMathematical functions for complex numbers.
Types
ComplexComplex number type.
Functions
makeMake a complex number from real and imaginary parts.
acosInverse cosine (arc cos).
acoshInverse hyperbolic cosine (arc cosh).
absAbsolute value.
addComplex addition.
argComplex argument.
asinInverse sine (arc sin).
asinhInverse hyperbolic sine (arc sinh).
atanInverse tangent (arc tan).
atanhInverse hyperbolic tangent (arc tanh).
cosCosine.
coshHyperbolic cosine.
divComplex division.
expComplex exponentiation.
expComplex exponentiation (base 10).
invComplex inverse.
logComplex logarithm.
log10Complex logarithm (base 10).
mulComplex multiplication.
powComplex power.
sinSine.
sinhHyperbolic sine.
sqrtSquare root.
subComplex subtraction.
squareComplex square (a^2).
tanTangent.
tanhHyperbolic tangent.

Types

Complex

Complex number type.

Fields

rereal part
imimaginary part

Functions

make

FUNCTION make(re: Number,
im: Number): Complex

Make a complex number from real and imaginary parts.

Parameters

rereal part
imimaginary part

acos

FUNCTION acos(a: Complex): Complex

Inverse cosine (arc cos).

Reference

http://mathworld.wolfram.com/InverseCosine.html

acosh

FUNCTION acosh(a: Complex): Complex

Inverse hyperbolic cosine (arc cosh).

Reference

http://mathworld.wolfram.com/InverseHyperbolicCosine.html

abs

FUNCTION abs(a: Complex): Number

Absolute value.

Reference

http://mathworld.wolfram.com/AbsoluteValue.html

add

FUNCTION add( a,
b: Complex): Complex

Complex addition.

Reference

http://mathworld.wolfram.com/ComplexAddition.html

arg

FUNCTION arg(a: Complex): Number

Complex argument.

Reference

http://mathworld.wolfram.com/ComplexArgument.html

asin

FUNCTION asin(a: Complex): Complex

Inverse sine (arc sin).

Reference

http://mathworld.wolfram.com/InverseSine.html

asinh

FUNCTION asinh(a: Complex): Complex

Inverse hyperbolic sine (arc sinh).

Reference

http://mathworld.wolfram.com/InverseHyperbolicSine.html

atan

FUNCTION atan(a: Complex): Complex

Inverse tangent (arc tan).

Reference

http://mathworld.wolfram.com/InverseTangent.html

atanh

FUNCTION atanh(a: Complex): Complex

Inverse hyperbolic tangent (arc tanh).

Reference

http://mathworld.wolfram.com/InverseHyperbolicTangent.html

cos

FUNCTION cos(a: Complex): Complex

Cosine.

Reference

http://mathworld.wolfram.com/Cosine.html

cosh

FUNCTION cosh(a: Complex): Complex

Hyperbolic cosine.

Reference

http://mathworld.wolfram.com/HyperbolicCosine.html

div

FUNCTION div( a,
b: Complex): Complex

Complex division.

Reference

http://mathworld.wolfram.com/ComplexDivision.html

exp

FUNCTION exp(a: Complex): Complex

Complex exponentiation.

Reference

http://mathworld.wolfram.com/ComplexExponentiation.html

exp

FUNCTION exp10(a: Complex): Complex

Complex exponentiation (base 10).

Reference

http://mathworld.wolfram.com/ComplexExponentiation.html

inv

FUNCTION inv(a: Complex): Complex

Complex inverse.

Reference

http://mathworld.wolfram.com/MultiplicativeInverse.html

log

FUNCTION log(a: Complex): Complex

Complex logarithm.

Reference

http://mathworld.wolfram.com/Logarithm.html

log10

FUNCTION log10(a: Complex): Complex

Complex logarithm (base 10).

Reference

http://mathworld.wolfram.com/Logarithm.html

mul

FUNCTION mul( a,
b: Complex): Complex

Complex multiplication.

Reference

http://mathworld.wolfram.com/ComplexMultiplication.html

pow

FUNCTION pow( a,
b: Complex): Complex

Complex power.

Reference

http://mathworld.wolfram.com/Power.html

sin

FUNCTION sin(a: Complex): Complex

Sine.

Reference

http://mathworld.wolfram.com/Sine.html

sinh

FUNCTION sinh(a: Complex): Complex

Hyperbolic sine.

Reference

http://mathworld.wolfram.com/HyperbolicSine.html

sqrt

FUNCTION sqrt(a: Complex): Complex

Square root.

Reference

http://mathworld.wolfram.com/SquareRoot.html

sub

FUNCTION sub( a,
b: Complex): Complex

Complex subtraction.

Reference

http://mathworld.wolfram.com/ComplexSubtraction.html

square

FUNCTION square(a: Complex): Complex

Complex square (a^2).

tan

FUNCTION tan(a: Complex): Complex

Tangent.

Reference

http://mathworld.wolfram.com/Tangent.html

tanh

FUNCTION tanh(a: Complex): Complex

Hyperbolic tangent.

Reference

http://mathworld.wolfram.com/HyperbolicTangent.html

FUNCTION make(re: Number,
im: Number): Complex
Make a complex number from real and imaginary parts.
FUNCTION acos(a: Complex): Complex
Inverse cosine (arc cos).
FUNCTION acosh(a: Complex): Complex
Inverse hyperbolic cosine (arc cosh).
FUNCTION abs(a: Complex): Number
Absolute value.
FUNCTION add( a,
b: Complex): Complex
Complex addition.
FUNCTION arg(a: Complex): Number
Complex argument.
FUNCTION asin(a: Complex): Complex
Inverse sine (arc sin).
FUNCTION asinh(a: Complex): Complex
Inverse hyperbolic sine (arc sinh).
FUNCTION atan(a: Complex): Complex
Inverse tangent (arc tan).
FUNCTION atanh(a: Complex): Complex
Inverse hyperbolic tangent (arc tanh).
FUNCTION cos(a: Complex): Complex
Cosine.
FUNCTION cosh(a: Complex): Complex
Hyperbolic cosine.
FUNCTION div( a,
b: Complex): Complex
Complex division.
FUNCTION exp(a: Complex): Complex
Complex exponentiation.
FUNCTION inv(a: Complex): Complex
Complex inverse.
FUNCTION log(a: Complex): Complex
Complex logarithm.
FUNCTION log10(a: Complex): Complex
Complex logarithm (base 10).
FUNCTION mul( a,
b: Complex): Complex
Complex multiplication.
FUNCTION pow( a,
b: Complex): Complex
Complex power.
FUNCTION sin(a: Complex): Complex
Sine.
FUNCTION sinh(a: Complex): Complex
Hyperbolic sine.
FUNCTION sqrt(a: Complex): Complex
Square root.
FUNCTION sub( a,
b: Complex): Complex
Complex subtraction.
FUNCTION square(a: Complex): Complex
Complex square (a^2).
FUNCTION tan(a: Complex): Complex
Tangent.
FUNCTION tanh(a: Complex): Complex
Hyperbolic tangent.
Close