RootOf - Maple Help

type/RootOf

check for a RootOf expression

 Calling Sequence type(expr, RootOf)

Parameters

 expr - any expression

Description

 • An expression is of type RootOf if it is of the form RootOf(x), where x is an algebraic expression.

Examples

 > $\mathrm{type}\left(\mathrm{RootOf}\left({x}^{2}-3,x\right),\mathrm{RootOf}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{type}\left(\mathrm{sin}\left(3x\right),\mathrm{RootOf}\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{type}\left(\mathrm{RootOf}\left(x-3,x\right),\mathrm{RootOf}\right)$
 ${\mathrm{false}}$ (3)
 > $\mathrm{type}\left(\mathrm{RootOf}\left({Z}^{7}-2{Z}^{5}+3\right),\mathrm{RootOf}\right)$
 ${\mathrm{true}}$ (4)