[[Rcpp::export]]
| 616 | |
| 617 | // [[Rcpp::export]] |
| 618 | List runit_asvector( NumericMatrix z, NumericVector x, NumericVector y){ |
| 619 | return List::create( |
| 620 | as_vector( z ), |
| 621 | as_vector( outer( x , y , std::plus<double>() ) ) |
| 622 | ) ; |
| 623 | } |
| 624 | |
| 625 | // [[Rcpp::export]] |
| 626 | NumericVector runit_diff_REALSXP_NA( NumericVector x ){ |