![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/prim/fun/constants.hpp>#include <stan/math/prim/functor/apply_scalar_unary.hpp>#include <stan/math/prim/fun/exp.hpp>#include <stan/math/prim/fun/expm1.hpp>#include <stan/math/prim/fun/log.hpp>#include <stan/math/prim/fun/log1m.hpp>#include <cmath>Go to the source code of this file.
Classes | |
| struct | stan::math::log1m_exp_fun |
| Structure to wrap log1m_exp() 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. | |
Functions | |
| double | stan::math::log1m_exp (double a) |
| Calculates the natural logarithm of one minus the exponential of the specified value without overflow,. | |
| template<typename T , require_not_var_matrix_t< T > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr, require_container_t< T > * = nullptr> | |
| auto | stan::math::log1m_exp (T &&x) |
| Vectorized version of log1m_exp(). | |