1 #ifndef STAN_MATH_PRIM_MAT_FUN_LOG_HPP
2 #define STAN_MATH_PRIM_MAT_FUN_LOG_HPP
15 template<
typename T,
int Rows,
int Cols>
16 inline Eigen::Matrix<T, Rows, Cols>
17 log(
const Eigen::Matrix<T, Rows, Cols>& m) {
18 return m.array().log().matrix();
fvar< T > log(const fvar< T > &x)