functionLambertWIter

Iterative form of Lambert's w function for solving f(x) = x exp(x) for x

Extends from Modelica.Icons.Function (Icon for functions).

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.

Inputs

TypeNameDefaultDescription
RealyInput f(x)

Outputs

TypeNameDefaultDescription
RealxOutput W(y)
Integeriter