![]() |
Stan Math Library
2.8.0
reverse mode automatic differentiation
|
#include <stan/math/prim/scal/fun/log1m.hpp>
#include <boost/math/tools/promotion.hpp>
#include <boost/throw_exception.hpp>
#include <cmath>
#include <limits>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
stan | |
stan::math | |
Matrices and templated mathematical functions. | |
Functions | |
template<typename T > | |
boost::math::tools::promote_args < T >::type | stan::math::log1m_exp (const T a) |
Calculates the log of 1 minus the exponential of the specified value without overflow log1m_exp(x) = log(1-exp(x)). More... | |