method

rect

Importance_1
rect(p1, p2 = v2) public

Returns a complex object which denotes the given rectangular form.

Complex.rectangular(1, 2)  #=> (1+2i)
Show source
Register or log in to add new notes.