Computes the Lambert W function.

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

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public static double LambertW(
	double x
)
Public Shared Function LambertW ( _
	x As Double _
) As Double
public:
static double LambertW(
	double x
)
static member LambertW : 
        x : float -> float 

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