Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Example:
library("math")
j = complex(0, 1)
cimag(j)

Result:
Contents of re
[1,]       1



Author: S. Klinke, 19970530
(C) MD*TECH Method and Data Technologies, 05.02.2006