MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / seq_along

Function seq_along

inst/include/Rcpp/sugar/functions/seq_along.h:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43template <int RTYPE, bool NA, typename T>
44inline sugar::SeqLen seq_along( const Rcpp::VectorBase<RTYPE,NA,T>& t){
45 return sugar::SeqLen( t.size() ) ;
46}
47
48inline sugar::SeqLen seq_len( const size_t& n){
49 return sugar::SeqLen( n ) ;

Callers 1

runit_seqalongFunction · 0.85

Calls 2

SeqLenClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected