Next:
Complex-comparing
, Up:
Complex
2.1.1 Complex class: instance creation
i
Return the imaginary unit, -1 sqrt.
initialize
Initialize some common complex numbers.
new
This method should not be called for instances of this class.
real: re imaginary: im
Return a complex number with the given real and imaginary parts.
realResult: re imaginary: im
Private - Return a new complex number knowing that re and im have the same generality.
rho: dist theta: angle
Return a complex number whose absolute value is dist and whose argument is angle.