type/AlgebraicObject
check for an algebraic number or algebraic function
Calling Sequence
Parameters
Description
Examples
type(expr,'AlgebraicObject')
expr
-
expression
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
ex1≔I,2I,sqrt2,1+sqrt2,x23,x2,RootOfx2−2,index=1,RootOfsinx
ex1≔I,2I,2,1+2,x23,x2,RootOf_Z2−2,index=1,RootOfsin_Z
maptype,ex1,AlgebraicObject
true,false,true,false,true,false,true,false
ex2≔expπ11,expπI11,sin3π11,coshπ11
ex2≔ⅇπ11,ⅇI11π,sin3π11,coshπ11
maptype,ex2,AlgebraicObject
false,true,true,false
See Also
Algebraic
Algebraic[GetAlgebraics]
RootOf
trig
type
type/algext
type/algfun
type/algnum
type/radalgfun
type/radalgnum
type/radfun
type/radnum
Download Help Document