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

Function runit_lang_unarycall

inst/tinytest/cpp/language.cpp:82–91  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

80
81// [[Rcpp::export]]
82List runit_lang_unarycall(IntegerVector x){
83 Language call( "seq", Named("from", 10 ), Named("to", 0 ) ) ;
84 List output( x.size() ) ;
85 std::transform(
86 x.begin(), x.end(),
87 output.begin(),
88 unary_call<int>(call)
89 ) ;
90 return output ;
91}
92
93// [[Rcpp::export]]
94List runit_lang_unarycallindex(IntegerVector x){

Callers

nothing calls this directly

Calls 4

NamedFunction · 0.85
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected