1 #ifndef STAN__MATH__FUNCTIONS__LOG2_HPP
2 #define STAN__MATH__FUNCTIONS__LOG2_HPP
5 #include <boost/math/tools/promotion.hpp>
24 inline typename boost::math::tools::promote_args<T>::type
const double LOG_2
The natural logarithm of 2, .
boost::math::tools::promote_args< T >::type log2(const T a)
Returns the base 2 logarithm of the argument (C99).
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)