1 #ifndef STAN_MATH_PRIM_MAT_FUN_REP_ROW_VECTOR_HPP 2 #define STAN_MATH_PRIM_MAT_FUN_REP_ROW_VECTOR_HPP 4 #include <boost/math/tools/promotion.hpp> 12 inline Eigen::Matrix<typename boost::math::tools::promote_args<T>::type,
16 return Eigen::Matrix<typename boost::math::tools::promote_args<T>::type,
17 1, Eigen::Dynamic>::Constant(m, x);
Eigen::Matrix< typename boost::math::tools::promote_args< T >::type, 1, Eigen::Dynamic > rep_row_vector(const T &x, int m)
void check_nonnegative(const char *function, const char *name, const T_y &y)
Check if y is non-negative.