convert/ifelse
convert to ifelse expression
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
convert(expr, ifelse)
convert(expr, ifelse, recurse)
expr
-
expression to convert
recurse : true or false
This option specifies whether the transformation should be applied to subexpressions of the original expression expr. The default is false.
The convert(expr, ifelse) command accepts a Maple piecewise expression and return a result written in terms of nested calls to the ifelse function.
Convert a piecewise with three branches to nested ifelse calls.
Convert a nested piecewise to ifelse with and without the recurse option.
The convert/ifelse command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
convert
ifelse
Download Help Document