SimplifyKD

◼ SimplifyKD[expr] simplifies KroneckerDelta and UnitStep expressions in expr.

◼ See also: sumSimplifyKD, sumSimplify.

Further examples

Load sneg

<< sneg`sneg`;

SimplifyKD[UnitStep[k] + UnitStep[-k]]

SimplifyKD[1 - UnitStep[-k]]

SimplifyKD[x (UnitStep[-k] - 1)]

SimplifyKD[KroneckerDelta[a, b]^2]