functionsmoothMax

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 Annex60.Utilities.Math.Examples.SmoothMin.

Inputs

TypeNameDefaultDescription
Realx1First argument
Realx2Second argument
RealdeltaXWidth of transition interval

Outputs

TypeNameDefaultDescription
RealyResult

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.