.TRANSFORM.Math.smoothMin_cubic

Information

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



Source:

Interface

function smoothMin_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 smoothMin_cubic;

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