User Guide
Testing for a Subexpression
To test whether an expression contains an instance of a specified
subexpression:
• Use the has command.
>
>
>
The has command searches the structure of the expression for an exactly
matching subexpression.
For example, the following calling sequence returns false.
>
To return all subexpressions of a particular type, use the indets command.
For more information, see Indeterminates (page 303).
300 • 7 Maple Expressions