type/AlgebraicObject - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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

> 

ex1≔I,2⁢I,sqrt⁡2,1+sqrt⁡2,x23,x2,RootOf⁡x2−2,index=1,RootOf⁡sin⁡x

ex1≔I,2⁢I,2,1+2,x23,x2,RootOf⁡_Z2−2,index=1,RootOf⁡sin⁡_Z

(1)
> 

map⁡type,ex1,AlgebraicObject

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

(2)
> 

ex2≔exp⁡π11,exp⁡π⁢I11,sin⁡3⁢π11,cosh⁡π11

ex2≔ⅇπ11,ⅇI11⁢π,sin⁡3⁢π11,cosh⁡π11

(3)
> 

map⁡type,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