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

Function rep

inst/include/Rcpp/sugar/functions/rep.h:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68template <int RTYPE, bool NA, typename T>
69inline sugar::Rep<RTYPE,NA,T> rep( const VectorBase<RTYPE,NA,T>& t, R_xlen_t n ){
70 return sugar::Rep<RTYPE,NA,T>( t, n ) ;
71}
72
73inline sugar::Rep_Single<double> rep( const double& x, R_xlen_t n ){
74 return sugar::Rep_Single<double>( x, n ) ;

Callers 1

runit_repFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected