[[Rcpp::export]]
| 253 | |
| 254 | // [[Rcpp::export]] |
| 255 | NumericVector 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]] |
| 261 | NumericVector runit_mapply3_lambda(NumericVector xx, NumericVector yy, NumericVector zz){ |