CSQRT function
Description
CSQRT(x) takes a complex or real number as argument and returns its square root. When x is a negative real number the result is a complex number. CSQRT(-1) returns 0+1i.
The argument x can be a real number, a complex number or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the CSQRT function applied to all elements.
Example
CSQRT(-1) returns 0+1i
CSQRT(9) returns 9.