AixLib.Utilities.Math.Functions.smoothMax

# .AixLib.Utilities.Math.Functions.smoothMax

Once continuously differentiable approximation to the maximum function

## Information

Once continuously differentiable approximation to the `max(.,.)` function.

Note that the maximum need not be respected, such as illustrated in AixLib.Utilities.Math.Examples.SmoothMin.

#### Interface

>     function smoothMax
>       extends Modelica.Icons.Function;
>       input Real x1 "First argument";
>       input Real x2 "Second argument";
>       input Real deltaX "Width of transition interval";
>       output Real y "Result";
>     end smoothMax;

## Revisions

- March 15, 2016, by Michael Wetter:
  Replaced `spliceFunction` with `regStep`. This is for issue 300.
- March 12, 2015, by Filip Jorissen:
  Added documentation reference demonstrating overshoot.
- February 5, 2015, by Filip Jorissen:
  Added `smoothOrder = 1`.
- August 15, 2008, by Michael Wetter:
  First implementation.

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