type/embedded_real - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

type/embedded_real

check for an object of type embedded_real

type/embedded_imaginary

check for an object of type embedded_imaginary

type/embedded_axis

check for an object of type embedded_axis

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(x, embedded_real)

type(x, embedded_real(d))

type(x, embedded_imaginary)

type(x, embedded_imaginary(d))

type(x, embedded_axis)

type(x, embedded_axis(d))

Parameters

x

-

any expression

d

-

any numeric type

Description

• 

The type(x, embedded_real) function returns true if x is of type complex(extended_numeric) and x=0.

  

The type(x, embedded_real(d)) function is the same as type(x, embedded_real) and type(Re(x), d).

• 

The type(x, embedded_imaginary) function returns true if x is of type nonreal and x=0.

  

The type(x, embedded_imaginary(d)) function is the same as type(x, embedded_imaginary) and type(Im(x), d).

• 

The type(x, embedded_axis) function returns true if x is either an embedded_real or an embedded_imaginary.

  

The type(x, embedded_axis(d)) function is the same as type(x, embedded_real(d)) or type(x, embedded_imaginary(d)).

• 

Each of the structured types (where d is given) returns false if d is not a numeric type.

Examples

type3,embedded_real

true

(1)

type∞,embedded_real

true

(2)

type3.4+0.0I,embedded_realfloat

true

(3)

type3.4+0.0I,embedded_realinteger

false

(4)

type0.0+undefinedI,embedded_imaginary

true

(5)

type3+∞I,embedded_axis

false

(6)

typea+bI,embedded_axisname

false

(7)

type∞I,embedded_axis

true

(8)

See Also

Im

infinity

Re

type

type/extended_numeric

type/imaginary

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