.Modelica.Fluid.Dissipation.Utilities.Functions.General.LambertWIter

Information

This function calculates an approximation of the inverse for

f(x) = y = x * exp( x )

within ∞ > y > -1/e. Please note, that for negative inputs two solutions exists. The function currently delivers the result x = -1 ... 0 for that particular range.

Interface

function LambertWIter
  extends Modelica.Icons.Function;
  input Real y "Input f(x)";
  output Real x "Output W(y)";
  output Integer iter;
end LambertWIter;

Generated at 2024-12-24T19:25:53Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos