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

Function runit_lang_binarycall

inst/tinytest/cpp/language.cpp:106–115  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

104
105// [[Rcpp::export]]
106List runit_lang_binarycall(IntegerVector x1, IntegerVector x2 ){
107 Language call( "seq", Named("from", 10 ), Named("to", 0 ) ) ;
108 List output( x1.size() ) ;
109 std::transform(
110 x1.begin(), x1.end(), x2.begin(),
111 output.begin(),
112 binary_call<int,int>(call)
113 ) ;
114 return output ;
115}
116
117
118// [[Rcpp::export]]

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