cmp.polar â array
Instance Public methods
Returns an array; [cmp.abs, cmp.arg].
1 | Complex( 1 , 2 ).polar #=> [2.23606797749979, 1.1071487177940904] |
Returns an array; [cmp.abs, cmp.arg].
1 | Complex( 1 , 2 ).polar #=> [2.23606797749979, 1.1071487177940904] |
Designed by : w10schools
service@w10schools.com
Please login to continue.