.TRANSFORM.Math.smoothMax_quadratic

Information

An implementation of the smooth maximum using a quadratic term approach.



Source:

Interface

function smoothMax_quadratic
  extends TRANSFORM.Icons.Function;
  import Modelica.Math;
  input Real x1 "First argument of smooth operator";
  input Real x2 "Second argument of smooth operator";
  input Real dx "Approximate difference between x1 and x2, below which regularization starts";
  output Real y "Result of smooth operator";
end smoothMax_quadratic;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos