| Library: | math |
| See also: | cadd cmul csub |
| Quantlet: | cdiv | |
| Description: | Complex division |
| Usage: | z = cdiv (x, y) | |
| Input: | ||
| x | n x p x d1 x ... x dn complex array | |
| y | n x p x d1 x ... x dn complex array | |
| Output: | ||
| z | n x p x d1 x ... x dn complex array | |
library("math")
one = complex(1, 0)
j = complex(0, 1)
cdiv (j, one)
Contents of z.re [1,] 0 Contents of z.im [1,] 1
| Library: | math |
| See also: | cadd cmul csub |