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

◆ lambert_wm1() [2/4]

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

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

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

Definition at line 35 of file lambert_w.hpp.