Library: | math |
See also: | cadd cdiv csub |
Quantlet: | cmul | |
Description: | Complex multiplication |
Usage: | z = cmul (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") x = complex(0, 1) y = complex(1, 0) cmul(x, y)
Contents of z.re [1,] 0 Contents of z.im [1,] 1