Algebraic - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Algebraic Numbers : Algebraic/GetAlgebraics

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(y^2-RootOf(x^2-3,index=1),y,index=1)]);

f1+Ix+2RootOf_Z2RootOf_Z23,index=1,index=1

(1)

Algebraic[GetAlgebraics](f);

I,2,RootOf_Z2RootOf_Z23,index=1,index=1,RootOf_Z23,index=1

(2)

Algebraic[GetAlgebraics](f, 'RootOf');

RootOf_Z2RootOf_Z23,index=1,index=1,RootOf_Z23,index=1

(3)

See Also

Algebraic

indets

type/AlgebraicObject