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

Online Help

All Products    Maple    MapleSim


type/facint

test for factored integer form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, facint)

Parameters

expr

-

any expression

Description

• 

This function will return true if expr is an expression of the form returned by the function ifactor, and false otherwise.

• 

The numbers 0, 1, and −1 are considered to be of type facint, but all other integers and rationals must be passed through ifactor before type/facint will return true when applied to them.

Examples

aifactor2520

a233257

(1)

typea,facint

true

(2)

bifactor818

b3423

(3)

typeb,facint

true

(4)

type1,facint

true

(5)

type5,facint

false

(6)

typeifactor5,facint

true

(7)

See Also

ifactor

type

type/integer