1 #ifndef STAN_MATH_PRIM_ARR_FUN_REP_ARRAY_HPP
2 #define STAN_MATH_PRIM_ARR_FUN_REP_ARRAY_HPP
16 return std::vector<T>(n, x);
20 inline std::vector<std::vector<T> >
26 return vector<vector<T> >(m, vector<T>(n, x));
30 inline std::vector<std::vector<std::vector<T> > >
37 return vector<vector<vector<T> > >(k,
std::vector< T > rep_array(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.