HeavisideTheta stays unevaluated for vanishing argument:
PiecewiseExpand does not operate on
HeavisideTheta because it is a distribution and not a piecewise-defined function:
The precision of the output does not track the precision of the input:
HeavisideTheta can stay unevaluated for numeric arguments:
Machine-precision numericalization of
HeavisideTheta can give wrong results:
Use arbitrary-precision arithmetic to obtain the correct result:
A larger setting for
$MaxExtraPrecision will not avoid the
N::meprec message because the result is exact:
The functions
UnitStep and
HeavisideTheta are not mathematically equivalent:
Products of distributions with coincident singular support cannot be defined (no Colombeau algebra interpretation):
HeavisideTheta cannot be uniquely defined with complex arguments (no Sato hyperfunction interpretation):
Numerical routines can have problems with discontinuous functions:
Limit does not give
HeavisideTheta as a limit of smooth functions: