comp • gb.complex • complex

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 é
Create a new complex number from its real part and imaginary part.
criável
.
Esta classe pode ser usada como
Create a new complex number from its real part and imaginary part.
função estática
.

Métodos estáticos

Create a new complex number from its modulus and argument.
Polar  

Propriedades

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