type/cx_zero
check for an object of type complex zero
Calling Sequence
Parameters
Description
Examples
type(x, cx_zero)
x
-
any expression
The type(x, cx_zero) function returns true if x is a 2-argument nonreal, where both arguments are 0., 0., or −0..
The quantities 0., −0., 0.I, and −0.I are distinct and different from the quantities 0.+0.I, 0.−0.I, −0.+0.I, and −0.−0.I.
type0,cx_zero
false
type−0.,cx_zero
type0.I,cx_zero
type0+0.I,cx_zero
type0.+0.I,cx_zero
true
type−0.−0.I,cx_zero
The distinction amongst the zeros allows Maple to return results such as the following.
ln−1−0.I
0.−3.141592654I
ln−1+0.I
0.+3.141592654I
See Also
Im
Re
type
type/complex
type/cx_infinity
type/nonreal
Download Help Document