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

Function function_unarycall

inst/tinytest/cpp/Function.cpp:49–58  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

47
48// [[Rcpp::export]]
49IntegerVector function_unarycall(List x){
50 Function len( "length" ) ;
51 IntegerVector output( x.size() ) ;
52 std::transform(
53 x.begin(), x.end(),
54 output.begin(),
55 unary_call<IntegerVector,int>(len)
56 ) ;
57 return output ;
58}
59
60// [[Rcpp::export]]
61List function_binarycall(List list,IntegerVector vec){

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected