cmp.abs2 â real
Instance Public methods
Returns square of the absolute value.
1 2 | Complex(- 1 ).abs2 #=> 1 Complex( 3 . 0 , - 4 . 0 ).abs2 #=> 25.0 |
Returns square of the absolute value.
1 2 | Complex(- 1 ).abs2 #=> 1 Complex( 3 . 0 , - 4 . 0 ).abs2 #=> 25.0 |
Designed by : w10schools
service@w10schools.com
Please login to continue.