1 #ifndef STAN_MATH_PRIM_MAT_FUN_COMMON_TYPE_HPP 2 #define STAN_MATH_PRIM_MAT_FUN_COMMON_TYPE_HPP 5 #include <boost/math/tools/promotion.hpp> 11 template <
typename T1,
typename T2>
13 typedef typename boost::math::tools::promote_args<T1, T2>::type
type;
16 template <
typename T1,
typename T2>
18 typedef std::vector<typename common_type<T1, T2>::type>
type;
21 template <
typename T1,
typename T2,
int R,
int C>
23 typedef Eigen::Matrix<typename common_type<T1, T2>::type, R, C>
type;
std::vector< typename common_type< T1, T2 >::type > type
(Expert) Numerical traits for algorithmic differentiation variables.
Eigen::Matrix< typename common_type< T1, T2 >::type, R, C > type
boost::math::tools::promote_args< T1, T2 >::type type