22 #ifndef Rcpp__sugar__seq_along_h
23 #define Rcpp__sugar__seq_along_h
35 inline R_xlen_t
size()
const {
return len ; }
43 template <
int RTYPE,
bool NA,
typename T>
52 inline Range seq(R_xlen_t start, R_xlen_t end){
53 return Range( start, end ) ;
R_xlen_t operator[](R_xlen_t i) const
sugar::SeqLen seq_len(const size_t &n)
Range seq(R_xlen_t start, R_xlen_t end)
sugar::SeqLen seq_along(const Rcpp::VectorBase< RTYPE, NA, T > &t)