find indeterminates of an expression
(optional) the name of a type
The command indets with only one argument returns a set containing all the indeterminates of expr.
The argument expr is viewed as a rational expression (an expression formed by applying only the operations +, -, *, / to its subexpressions). Therefore, expressions such as sin⁡x, f⁡x,y, and x are treated as indeterminates.
Expressions of type constant, such as sin(1), f⁡3,5, and 2, are not considered to be indeterminates in the single-argument case.
If a second argument typename is specified then the value returned is a set containing all subexpressions in expr which are of type typename, including subexpressions which may not have been considered to be indeterminates in the single-argument case.
If the flat option is supplied as an index to the indets command, then Maple will not recursively look inside any subexpressions of the given typename for further (nested) subexpressions of that type.
Efficiently selecting all occurrences of functions f and g from an expression:
When there are no occurrences of the specified type, an empty set is returned:
If the flat option is supplied as an index to indets, Maple will stop recursion into an expression once a matching subexpression has been found.
The indets command was updated in Maple 2016.
The flat option was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
Download Help Document
What kind of issue would you like to report? (Optional)