extended_rational - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


type/rational

check for an object of type rational

 

Calling Sequence

Parameters

Description

Subtypes

Supertypes

Examples

Calling Sequence

type(x, rational)

Parameters

x

-

any expression

Description

• 

The type(x, rational) function returns true if x is an integer or fraction.  Otherwise, it returns false.

Subtypes

• 

type/fraction, type/integer

Supertypes

• 

type/extended_rational, type/numeric

Examples

(1)

(2)

(3)

(4)

(5)

(6)

See Also

convert/rational

infinity

type

type/extended_rational

type/fraction

type/infinity

type/integer

type/numeric

type/undefined

undefined

 


Download Help Document