Creates a complex number from its real and imaginary parts. Uses caching for performance optimization.
The real part of the complex number.
The imaginary part of the complex number. Defaults to 0.
A Complex number instance.
Complex
Creates a complex number from its real and imaginary parts. Uses caching for performance optimization.