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

Online Help

All Products    Maple    MapleSim


Algebraic

  

GetAlgebraics

  

extract all algebraic objects from a given object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GetAlgebraics(f)

GetAlgebraics(f, 'RootOf')

Parameters

f

-

any expression

Description

• 

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.

Examples

> 

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

(1)
> 

AlgebraicGetAlgebraics⁡f

I,2,RootOf⁡_Z2−RootOf⁡_Z2−3,index=1,index=1,RootOf⁡_Z2−3,index=1

(2)
> 

AlgebraicGetAlgebraics⁡f,RootOf

RootOf⁡_Z2−RootOf⁡_Z2−3,index=1,index=1,RootOf⁡_Z2−3,index=1

(3)

See Also

Algebraic

indets

type/AlgebraicObject