realPart -- real part
Synopsis
-
- Usage:
realPart z
-
Inputs:
-
z, an integer, rational, real or complex number
-
Outputs:
-
the real part of the complex number z.
Description
i1 : realPart(3/4)
3
o1 = -
4
o1 : QQ
|
i2 : realPart(1.5+2*ii)
o2 = 1.5
o2 : RR (of precision 53)
|
See also
-
CC -- the class of all complex numbers