Complex (gb.complex)

This class implements complex numbers.

Moreover, that class supports the following arithmetic operators and functions: +, -, *, /, ^, =, <>, Abs.

The absolute value of a complex number is its modulus.

Esta classe é criável.

Esta classe pode ser usada como função estática.

Métodos estáticos
Polar   Create a new complex number from its modulus and argument.

Propriedades
Imag   Return or set the imaginary part of the number.
Real   Return of set the real part of the number.

Métodos
Abs2   Return the square of the complex number absolute value.
Arg   Return the complex number argument.
Conj   Return the conjugate of the number as a new complex number.
Copy   Return a copy of the complex number.
Inv   Return the inverse of the complex number.
ToString   Convert a complex number to a string.