Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/functor/apply_scalar_unary.hpp>
#include <stan/math/prim/fun/boost_policy.hpp>
#include <boost/math/special_functions/lambert_w.hpp>
Go to the source code of this file.
Classes | |
struct | stan::math::internal::lambert_w0_fun |
Structure to wrap lambert_w0() so it can be vectorized. More... | |
struct | stan::math::internal::lambert_wm1_fun |
Structure to wrap lambert_wm1() so it can be vectorized. More... | |
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
namespace | stan::math::internal |
A comparator that works for any container type that has the brackets operator. | |
Functions | |
template<typename T , require_arithmetic_t< T > * = nullptr> | |
double | stan::math::lambert_w0 (const T &x) |
Compute the Lambert W function on W0 branch for a value x. | |
template<typename T , require_arithmetic_t< T > * = nullptr> | |
double | stan::math::lambert_wm1 (const T &x) |
Compute the Lambert W function on W-1 branch for a value x. | |
template<typename T , require_not_stan_scalar_t< T > * = nullptr, require_not_var_matrix_t< T > * = nullptr> | |
auto | stan::math::lambert_w0 (const T &x) |
Vectorized version of lambert_w0(). | |
template<typename T , require_not_stan_scalar_t< T > * = nullptr, require_not_var_matrix_t< T > * = nullptr> | |
auto | stan::math::lambert_wm1 (const T &x) |
Vectorized version of lambert_wm1(). | |