Returns the Lambert W function.

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function LambertW ( _
	x As Double _
) As Double
C#
public static double LambertW (
	double x
)
C++
public:
static double LambertW (
	double x
)

Parameters

x (System.Double)
A real number.

Return Value

The Lambert W function evaluated at x.

Remarks

The Lambert W(x) function is the solution W of the equation WeW = x.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionx is less than or equal to -1/e.