1 #ifndef STAN_MATH_PRIM_MAT_FUN_REP_VECTOR_HPP
2 #define STAN_MATH_PRIM_MAT_FUN_REP_VECTOR_HPP
4 #include <boost/math/tools/promotion.hpp>
13 Eigen::Matrix<typename boost::math::tools::promote_args<T>::type,
17 return Eigen::Matrix<typename boost::math::tools::promote_args<T>::type,
18 Eigen::Dynamic, 1>::Constant(n, x);
Eigen::Matrix< typename boost::math::tools::promote_args< T >::type, Eigen::Dynamic, 1 > rep_vector(const T &x, int n)
bool check_nonnegative(const char *function, const char *name, const T_y &y)
Return true if y is non-negative.