type/cx_zero - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/cx_zero

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

type0,cx_zero

false

(1)

type0.,cx_zero

false

(2)

type0.I,cx_zero

false

(3)

type0+0.I,cx_zero

false

(4)

type0.+0.I,cx_zero

true

(5)

type0.0.I,cx_zero

true

(6)

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

ln10.I

0.3.141592654I

(7)

ln1+0.I

0.+3.141592654I

(8)

See Also

Im

Re

type

type/complex

type/cx_infinity

type/nonreal

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam