type/AlgebraicObject - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : type/AlgebraicObject

type/AlgebraicObject

check for an algebraic number or algebraic function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr,'AlgebraicObject')

Parameters

expr

-

expression

Description

• 

An expression is of type AlgebraicObject if and only if it is one of the following:

– 

a radical

– 

a RootOf of type algext

– 

trigπz for some rational number z, where trig is one of the trigonometric functions sin,cos,tan,csc,sec,cot

– 

ⅇIπz for some rational number z

– 

I

Examples

ex1I,2I,2,1+2,x23,x2,RootOfx22,index=1,RootOfsinx

ex1I,2I,2,1+2,x23,x2,RootOf_Z22,index=1,RootOfsin_Z

(1)

maptype,ex1,'AlgebraicObject'

true,false,true,false,true,false,true,false

(2)

ex2ⅇPi11,ⅇPiI11,sin3Pi11,coshPi11

ex2ⅇπ11,ⅇI11π,sin3π11,coshπ11

(3)

maptype,ex2,'AlgebraicObject'

false,true,true,false

(4)

See Also

Algebraic

Algebraic[GetAlgebraics]

RootOf

trig

type

type/algext

type/algfun

type/algnum

type/radalgfun

type/radalgnum

type/radfun

type/radnum