type/abstract_rootof
check for a RootOf data structure that is the collection of roots of an expression
Calling Sequence
Parameters
Description
Examples
type(expr, abstract_rootof)
expr
-
any expression
The type(expr, abstract_rootof) function returns true if expr is the abstract collection of all the roots of an expression that uses a RootOf data structure. Otherwise, false is returned.
This function recognizes two forms of roots.
RootOf(expr) where expr is an algebraic expression
RootOf(expr, label = L) where expr is an algebraic expression, and L is any expression
If extra arguments are included in the call to type(expr, abstract_rootof), they are ignored.
type⁡RootOf⁡x2−4⁢x+71,abstract_rootof
true
type⁡RootOf⁡x2−4⁢x+71,index=1,abstract_rootof
false
type⁡RootOf⁡x2−4⁢x+7,label=A,abstract_rootof
type⁡RootOf⁡x2−4⁢x+7,2.+1.732050808⁢I,abstract_rootof
See Also
RootOf
type
type/algext
type/algnum
type/RootOf
type/specified_rootof
Download Help Document