Algebraic
GetAlgebraics
extract all algebraic objects from a given object
Calling Sequence
Parameters
Description
Examples
GetAlgebraics(f)
GetAlgebraics(f, 'RootOf')
f
-
any expression
GetAlgebraics(f) returns all the subexpressions of f that are of type AlgebraicObject.
GetAlgebraics(f, 'RootOf') returns all subexpressions of f that are of type algext.
For both calling sequences, GetAlgebraics descends recursively into tables.
f≔array1+I,x+sqrt2,RootOfy2−RootOfx2−3,index=1,y,index=1
f≔1+Ix+2RootOf_Z2−RootOf_Z2−3,index=1,index=1
AlgebraicGetAlgebraicsf
I,2,RootOf_Z2−RootOf_Z2−3,index=1,index=1,RootOf_Z2−3,index=1
AlgebraicGetAlgebraicsf,RootOf
RootOf_Z2−RootOf_Z2−3,index=1,index=1,RootOf_Z2−3,index=1
See Also
indets
type/AlgebraicObject
Download Help Document