**

cmp ** numeric â complex
Instance Public methods

Performs exponentiation.

1
2
Complex('i') ** 2              #=> (-1+0i)
Complex(-8) ** Rational(1, 3#=> (1.0000000000000002+1.7320508075688772i)
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.