22 #ifndef Rcpp__sugar__rep_each_h
23 #define Rcpp__sugar__rep_each_h
28 template <
int RTYPE,
bool NA,
typename T>
38 return object[ i /
times ] ;
49 template <
int RTYPE,
bool NA,
typename T>
Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
STORAGE operator[](R_xlen_t i) const
Rcpp::traits::storage_type< RTYPE >::type STORAGE
Rep_each(const VEC_TYPE &object_, R_xlen_t times_)
sugar::Rep_each< RTYPE, NA, T > rep_each(const VectorBase< RTYPE, NA, T > &t, R_xlen_t times)