1 #ifndef STAN_MATH_PRIM_SCAL_FUN_DIVIDE_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_DIVIDE_HPP 19 template <
typename T1,
typename T2>
boost::math::tools::promote_args< double, typename scalar_type< T >::type, typename return_type< Types_pack... >::type >::type type
Eigen::Matrix< fvar< T >, R, C > divide(const Eigen::Matrix< fvar< T >, R, C > &v, const fvar< T > &c)
void domain_error(const char *function, const char *name, const T &y, const char *msg1, const char *msg2)
Throw a domain error with a consistently formatted message.