1 #ifndef STAN_MATH_PRIM_MAT_FUN_COMMON_TYPE_HPP 2 #define STAN_MATH_PRIM_MAT_FUN_COMMON_TYPE_HPP 6 #include <boost/math/tools/promotion.hpp> 20 template <
typename T1,
typename T2,
int R,
int C>
22 typedef Eigen::Matrix<typename common_type<T1, T2>::type, R, C>
type;
Struct which calculates type promotion given two types.
(Expert) Numerical traits for algorithmic differentiation variables.
Eigen::Matrix< typename common_type< T1, T2 >::type, R, C > type