sqrt(z)
Class Public methods
Returns the non-negative square root of Complex.
1 2 3 | sqrt(- 1 ) #=> 0+1.0i sqrt(Complex(- 1 , 0 )) #=> 0.0+1.0i sqrt(Complex( 0 , 8 )) #=> 2.0+2.0i |
Returns the non-negative square root of Complex.
1 2 3 | sqrt(- 1 ) #=> 0+1.0i sqrt(Complex(- 1 , 0 )) #=> 0.0+1.0i sqrt(Complex( 0 , 8 )) #=> 2.0+2.0i |
Designed by : w10schools
service@w10schools.com
Please login to continue.