# SpecFunc_LambertW¶

SpecFunc_LambertW(x, principal=True)

Lambert W function.

The Lambert W function is defined by the relation:

Parameters
xfloat
principalbool, optional

By default, principal is True.

Returns
resultfloat
• If principal is True : . is referred to as the principal branch of the Lambert W function. It denotes the upper part of the function whose domain is and range .

• If principal is False : . is the second real branch of the Lambert W function. It denotes the lower part of the function whose domain is and range .