cx_zero - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/cx_zero

check for an object of type complex zero

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(x, cx_zero)

Parameters

x

-

any expression

Description

• 

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.

Examples

> 

type⁡0,cx_zero

false

(1)
> 

type⁡−0.,cx_zero

false

(2)
> 

type⁡0.⁢I,cx_zero

false

(3)
> 

type⁡0+0.⁢I,cx_zero

false

(4)
> 

type⁡0.+0.⁢I,cx_zero

true

(5)
> 

type⁡−0.−0.⁢I,cx_zero

true

(6)

The distinction amongst the zeros allows Maple to return results such as the following.

> 

ln⁡−1−0.⁢I

0.−3.141592654⁢I

(7)
> 

ln⁡−1+0.⁢I

0.+3.141592654⁢I

(8)

See Also

Im

Re

type

type/complex

type/cx_infinity

type/nonreal