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

Function function_binarycall

inst/tinytest/cpp/Function.cpp:61–71  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

59
60// [[Rcpp::export]]
61List function_binarycall(List list,IntegerVector vec){
62 Function pmin( "pmin" ) ;
63 List output( list.size() ) ;
64 std::transform(
65 list.begin(), list.end(),
66 vec.begin(),
67 output.begin(),
68 binary_call<IntegerVector,int,IntegerVector>(pmin)
69 ) ;
70 return output ;
71}
72
73// [[Rcpp::export]]
74Function function_namespace_env(){

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected