1 #ifndef STAN_MATH_PRIM_SCAL_FUN_LOG_DIFF_EXP_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_LOG_DIFF_EXP_HPP 7 #include <boost/math/tools/promotion.hpp> 47 template <
typename T1,
typename T2>
48 inline typename boost::math::tools::promote_args<T1, T2>::type
log_diff_exp(
49 const T1 x,
const T2 y) {
const double NOT_A_NUMBER
(Quiet) not-a-number value.
fvar< T > log_diff_exp(const fvar< T > &x1, const fvar< T > &x2)
fvar< T > log1m_exp(const fvar< T > &x)
Return the natural logarithm of one minus the exponentiation of the specified argument.