| Library: | math |
| See also: | complex creal |
| Quantlet: | cimag | |
| Description: | Extracts imaginary part of a complex array |
| Usage: | y = cimag (z) | |
| Input: | ||
| y | n x p x d1 x ... x dn complex array | |
| Output: | ||
| re | n x p x d1 x ... x dn array imaginary part of z | |
library("math")
j = complex (0, 1)
cimag(j)
Contents of re [1,] 1
| Library: | math |
| See also: | complex creal |