1 #ifndef STAN_MATH_PRIM_MAT_FUN_DIVIDE_HPP 2 #define STAN_MATH_PRIM_MAT_FUN_DIVIDE_HPP 4 #include <boost/type_traits/is_arithmetic.hpp> 5 #include <boost/utility/enable_if.hpp> 19 template <
int R,
int C,
typename T>
21 typename boost::enable_if_c<boost::is_arithmetic<T>::value,
22 Eigen::Matrix<double, R, C> >::type
23 divide(
const Eigen::Matrix<double, R, C>& m,
Eigen::Matrix< fvar< T >, R, C > divide(const Eigen::Matrix< fvar< T >, R, C > &v, const fvar< T > &c)