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 cimag

Quantlet: creal
Description: Extracts real part of an complex array

Usage: y = creal (z)
Input:
y n x p x d1 x ... x dn complex array
Output:
re n x p x d1 x ... x dn array real part of z

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

Result:
Contents of re
[1,]        0



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