Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ lambert_w0() [2/4]

template<typename T , require_arithmetic_t< T > * = nullptr>
double stan::math::lambert_w0 ( const T &  x)
inline

Compute the Lambert W function on W0 branch for a value x.

Template Parameters
Ttype of value
Parameters
xvalue
Returns
value of the W0 branch of the Lambert W function for x
Exceptions
std::domain_errorif x is less than or equal to -e^(-1)

Definition at line 21 of file lambert_w.hpp.