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