check for an algebraic number extension - Maple Help

Online Help

All Products    Maple    MapleSim


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

type/algnumext - check for an algebraic number extension

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


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