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

Online Help

All Products    Maple    MapleSim


type/specified_rootof

check for a RootOf data structure that is a specific root of an expression

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, specified_rootof)

Parameters

expr

-

any expression

Description

• 

The type(expr, specified_rootof) function returns true if expr is a specific root of an expression that uses a RootOf data structure. Otherwise, false is returned.

  

This function recognizes two forms of roots.

1.  RootOf(expr, index = n) where expr is an algebraic expression, and n is a positive integer

 

Specifies the roots of a rational polynomial.

2.  RootOf(expr, c) where expr is an algebraic expression, and c is a constant

 

Specifies the closest root to the point c.

  

If extra arguments are included in the call to type(expr, specified_rootof), they are ignored.

Examples

> 

type⁡RootOf⁡x2−4⁢x+71,specified_rootof

false

(1)
> 

type⁡RootOf⁡x2−4⁢x+71,index=1,specified_rootof

true

(2)
> 

type⁡RootOf⁡x2−4⁢x+7,label=A,specified_rootof

false

(3)
> 

type⁡RootOf⁡x2−4⁢x+7,2.+1.732050808⁢I,specified_rootof

true

(4)

See Also

RootOf

type

type/abstract_rootof

type/algext

type/algnum

type/RootOf