Returns the complex conjugate of this number.
A new complex number representing the conjugate
Returns the magnitude (absolute value) of this complex number.
The magnitude as a real number
Returns the argument (phase angle) of this complex number in radians.
The argument as a real number
Returns the exponential of this complex number.
A new complex number representing e^(this)
Returns the square root of this complex number.
A new complex number representing the square root
Raises this complex number to the given power.
The exponent (real number)
A new complex number representing this^exponent
Checks if this complex number equals another.
The complex number to compare to
Optional tolerance for floating point comparison
True if the numbers are equal within tolerance
Returns a string representation of this complex number.
String representation in the form "a + bi"
Native implementation of a complex number class. Represents a complex number with real and imaginary parts.