Complex numbers cplx(re,im) are constructed by two floating point numbers which are the real and imaginary part of the complex number.
Constructor | Description |
|
|
Instance member | Description |
Full Usage:
this.im
Returns: double
|
|
Full Usage:
this.re
Returns: double
|
|
Static member | Description |
multiplication of complex numbers
|
|
addition of complex numbers
|
|
subtraction of complex numbers
|
|
division of complex numbers
|
|
|
absolute value
|
|
conjugate of a complex number
|
|
checking whether a number is zero
|
|
multiplicative inverse of a complex number
|
|
square root (note that its negative is also a root)
|