Complex.rect(real[, imag]) â complex
Complex.rectangular(real[, imag]) â complex
Complex.rectangular(real[, imag]) â complex
Class Public methods
Returns a complex object which denotes the given rectangular form.
Complex.rectangular(1, 2) #=> (1+2i)
Please login to continue.