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

Online Help

All Products    Maple    MapleSim


type/algnum

check for an algebraic number

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, algnum)

Parameters

expr

-

any expression

Description

• 

The call type(expr, algnum) checks whether expr is an algebraic number.

• 

An algebraic number is defined as either a rational number, or a root of a univariate polynomial with algebraic number coefficients specified by a RootOf. A sum, product, or quotient of these is also an algebraic number.

Examples

(1)

(2)

(3)

Note:  is not of type algnum, but if written in the form RootOf(z^2-2, z) it is of type algnum.

(4)

(5)

(6)

See Also

convert/radical

convert/RootOf

type

type/algnumext

type/radalgnum

type/radnum

 


Download Help Document