1 #ifndef STAN_MATH_PRIM_MAT_FUN_LOG_SUM_EXP_HPP 2 #define STAN_MATH_PRIM_MAT_FUN_LOG_SUM_EXP_HPP 25 template <
int R,
int C>
27 const double max = x.maxCoeff();
fvar< T > log(const fvar< T > &x)
fvar< T > log_sum_exp(const std::vector< fvar< T > > &v)
fvar< T > exp(const fvar< T > &x)
int max(const std::vector< int > &x)
Returns the maximum coefficient in the specified column vector.