PiecewiseExpand
PiecewiseExpand(function)expands piecewise expressions into a
Piecewisefunction. Currently onlyAbs, Clip, If, Ramp, UnitStepare converted to Piecewise expressions.
PiecewiseExpand(function, Reals)expands
functionpiecewise under the assumption, that all variables are real numbers.
See:
Examples
>> PiecewiseExpand(Abs(x), Reals)Piecewise({{-x,x<0}},x)Related terms
Abs, Clip, If, Piecewise, Ramp, UnitStep
Implementation status
- ✅ - full supported