Annex60.Utilities.Math.Functions.smoothHeaviside

# .Annex60.Utilities.Math.Functions.smoothHeaviside

Once continuously differentiable approximation to the Heaviside function

## Information

Once Lipschitz continuously differentiable approximation to the `Heaviside(.,.)` function. See Example Annex60.Utilities.Math.Examples.SmoothHeaviside.

#### Interface

>     function smoothHeaviside
>       input Real x "Argument";
>       input Real delta "Parameter used for scaling";
>       output Real y "Result";
>     end smoothHeaviside;

## Revisions

- March 15, 2016, by Michael Wetter:
  Replaced `spliceFunction` with `regStep`. This is for issue 300.
- July 17, 2015, by Marcus Fuchs:
  Add link to example.
- February 5, 2015, by Filip Jorissen:
  Added `smoothOrder = 1`.
- July 14, 2010, by Wangda Zuo, Michael Wetter:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos