1 #ifndef STAN__MATH__FUNCTIONS__MULTIPLY_LOG_HPP
2 #define STAN__MATH__FUNCTIONS__MULTIPLY_LOG_HPP
4 #include <boost/math/tools/promotion.hpp>
49 template <
typename T_a,
typename T_b>
50 inline typename boost::math::tools::promote_args<T_a,T_b>::type
53 if (b == 0.0 && a == 0.0)
boost::math::tools::promote_args< T_a, T_b >::type multiply_log(const T_a a, const T_b b)
Calculated the value of the first argument times log of the second argument while behaving properly w...
Eigen::Matrix< T, Rows, Cols > log(const Eigen::Matrix< T, Rows, Cols > &m)
Return the element-wise logarithm of the matrix or vector.
fvar< T > log(const fvar< T > &x)