Next: , Up: Complex   [Index]

2.1.1 Complex class: instance creation


Return the imaginary unit, -1 sqrt.


Initialize some common complex numbers.


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.