nonreal - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


type/nonreal

check for an object of type nonreal

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(x, nonreal)

type(x, nonreal(d))

Parameters

x

-

expression

d

-

numeric type

Description

• 

The type(x, nonreal) function returns true if x is of the form a+Ib, where b <> 0 and a (if present) and b are of type extended_numeric.

• 

The type(x, nonreal(d)) function returns true if d is a numeric type, and x is of the form a+Ib, where b <> 0 and a (if present) and b are of type d.

Examples

type5I&comma;nonreal

true

(1)

type3&comma;nonreal

false

(2)

type4.0.I&comma;nonreal

true

(3)

typex&comma;nonreal

false

(4)

type12+3I&comma;nonrealrational

true

(5)

typea+Ib&comma;nonrealname

false

(6)

type1.+2.I&comma;nonrealfloat

true

(7)

See Also

complex

evalc

Im

Re

type

type/complexcons

type/constant

type/embedded_real

type/extended_numeric

type/numeric