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.
Static methods
Polar
|
Create a new complex number from its modulus and argument.
|
Properties
Imag
|
Return or set the imaginary part of the number.
|
Real
|
Return of set the real part of the number.
|
Methods
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.
|