type/specified_rootof
check for a RootOf data structure that is a specific root of an expression
Calling Sequence
Parameters
Description
Examples
type(expr, specified_rootof)
expr
-
any expression
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.
type⁡RootOf⁡x2−4⁢x+71,specified_rootof
false
type⁡RootOf⁡x2−4⁢x+71,index=1,specified_rootof
true
type⁡RootOf⁡x2−4⁢x+7,label=A,specified_rootof
type⁡RootOf⁡x2−4⁢x+7,2.+1.732050808⁢I,specified_rootof
See Also
RootOf
type
type/abstract_rootof
type/algext
type/algnum
type/RootOf
Download Help Document