| Library: | math |
| See also: | ccos ccosh cexp cln csin csinh ctan ctanh |
| Quantlet: | csqrt | |
| Description: | Complex squareroot |
| Usage: | z = csqrt(x) | |
| Input: | ||
| x | n x p x d1 x ... x dn complex array | |
| Output: | ||
| z | n x p x d1 x ... x dn complex array | |
library("math")
x = complex (#(4,16), #(9,1))
csqrt(x)
Contents of z.re [1,] 2.6314 [2,] 4.002 Contents of z.im [1,] 1.7101 [2,] 0.12494
| Library: | math |
| See also: | ccos ccosh cexp cln csin csinh ctan ctanh |