You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chung Leong edited this page Jan 10, 2022
·
4 revisions
csqrt - Square root of complex number
float[2] csqrt ( float[2] $z )
csqrt() computes the square root of complex number z.
PARAMETERS:
z - The complex number to process. It can be one two-element array or an array of two-element arrays. z[0] should contain the real part and z[1] should contain the imaginary part.
Return Values:
The square root of z. The size of the return value will match that of z.