Expands functions to explicit [`Piecewise`](Piecewise.md) form.
PiecewiseExpand[expr]
PiecewiseExpand[expr, assum]
PiecewiseExpand[expr, assum, dom]
PiecewiseExpand[Max[x, y]]
→ Piecewise[{{x, x - y >= 0}}, y]PiecewiseExpand[Piecewise[{{Piecewise[{{1, x < 1}}, 2], x > 0}}, 3]]
→ Piecewise[{{1, Inequality[0, Less, x, Less, 1]}, {2, x >= 1}}, 3]PiecewiseExpand[Abs[x], Reals]
→ Piecewise[{{-x, x < 0}}, x]PiecewiseExpand[Abs[x], x > 0]
→ x- Assumptions — default $Assumptions
- Method — default Automatic
- TimeConstraint — default 30