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

Online Help

All Products    Maple    MapleSim


type/algnumext

check for an algebraic number extension

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, algnumext)

Parameters

expr

-

any expression

Description

• 

The call type(expr, algnumext) checks to see if expr is an algebraic number extension.

• 

An algebraic number extension is a root of a univariate polynomial with algebraic number coefficients, specified by a RootOf.

• 

For example, the algebraic number 2 could be specified as RootOf(z^2-2, z).

• 

The expression type(expr, algnumext) is equivalent to the expression:  type(expr, RootOf) and type(expr, algnum) .

Examples

type23,algnumext

false

(1)

typeRootOfz2+1,z,algnumext

true

(2)

typeRootOfz2+y,z,algnumext

false

(3)

typeRootOfz2RootOfx25,z,algnumext

true

(4)

See Also

convert/RootOf

RootOf

type

type/algnum

type/radnumext

type/RootOf