$MaxPiecewiseCases

$MaxPiecewiseCases

gives the maximum number of cases to allow in explicit Piecewise objects generated by expanding any single piecewise function.

Details

Examples

Basic Examples  (1)

Floor is not converted to Piecewise because the number of piecewise cases exceeds 100:

In[1]:=
Click for copyable input
Out[1]=

This increases the limit on the number of cases to 200:

In[2]:=
Click for copyable input

Now PiecewiseExpand converts Floor to Piecewise:

In[3]:=
Click for copyable input
Out[3]=

This reverts $MaxPiecewiseCases to the default setting:

In[4]:=
Click for copyable input

See Also

PiecewiseExpand  Piecewise

Tutorials

Introduced in 2004
(5.1)