Computes the Lambert W function.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

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

Parameters

x
Double
The argument, which must be greater than or equal to -1/e.

Return Value

The value W(x).

Remarks

The Lambert W function solves the transcendental equation W eW = x. The function appears in a number of contexts, including the solution of differential equations and the enumeration of trees.

See Also