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

Function runit_rep

inst/tinytest/cpp/sugar.cpp:478–486  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

476
477// [[Rcpp::export]]
478List runit_rep( IntegerVector xx ){
479 List res = List::create(
480 _["rep"] = rep( xx, 3 ),
481 _["rep_each"] = rep_each( xx, 3 ),
482 _["rep_len"] = rep_len( xx, 12 ),
483 _["rep_prim_double"] = rep( 0.0, 10 )
484 ) ;
485 return res ;
486}
487
488// [[Rcpp::export]]
489IntegerVector runit_rev( IntegerVector xx ){

Callers

nothing calls this directly

Calls 3

repFunction · 0.85
rep_eachFunction · 0.85
rep_lenFunction · 0.85

Tested by

no test coverage detected