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

Function runit_mapply2_lambda

inst/tinytest/cpp/sugar.cpp:255–258  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

253
254// [[Rcpp::export]]
255NumericVector runit_mapply2_lambda(NumericVector xx, NumericVector yy){
256 NumericVector res = mapply(xx, yy, [](double x, double y) { return x+y; });
257 return res;
258}
259
260// [[Rcpp::export]]
261NumericVector runit_mapply3_lambda(NumericVector xx, NumericVector yy, NumericVector zz){

Callers

nothing calls this directly

Calls 1

mapplyFunction · 0.50

Tested by

no test coverage detected