.TRANSFORM.Math.smoothMax_cubic

Information

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



Source:

Interface

function smoothMax_cubic
  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_cubic;

Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos