1 #ifndef STAN__MATH__FUNCTIONS__LOG1P_EXP_HPP
2 #define STAN__MATH__FUNCTIONS__LOG1P_EXP_HPP
4 #include <boost/math/tools/promotion.hpp>
43 inline typename boost::math::tools::promote_args<T>::type
boost::math::tools::promote_args< T >::type log1p_exp(const T a)
Calculates the log of 1 plus the exponential of the specified value without overflow.
boost::math::tools::promote_args< T >::type log1p(const T x)
Return the natural logarithm of one plus the specified value.
Eigen::Matrix< T, Rows, Cols > exp(const Eigen::Matrix< T, Rows, Cols > &m)
Return the element-wise exponentiation of the matrix or vector.
fvar< T > exp(const fvar< T > &x)