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≔array⁡1+I,x+sqrt⁡2,RootOf⁡y2−RootOf⁡x2−3,index=1,y,index=1
f≔1+Ix+2RootOf⁡_Z2−RootOf⁡_Z2−3,index=1,index=1
AlgebraicGetAlgebraics⁡f
I,2,RootOf⁡_Z2−RootOf⁡_Z2−3,index=1,index=1,RootOf⁡_Z2−3,index=1
AlgebraicGetAlgebraics⁡f,RootOf
RootOf⁡_Z2−RootOf⁡_Z2−3,index=1,index=1,RootOf⁡_Z2−3,index=1
See Also
indets
type/AlgebraicObject
Download Help Document