[[Rcpp::export]]
| 363 | |
| 364 | // [[Rcpp::export]] |
| 365 | NumericMatrix matrix_scalar_divide3(const NumericMatrix & x, double y) { |
| 366 | NumericMatrix z(x.rows(), x.cols()); |
| 367 | z = x / y; |
| 368 | return x; |
| 369 | } |
| 370 | |
| 371 | // [[Rcpp::export]] |
| 372 | NumericMatrix matrix_scalar_divide4(const NumericMatrix & x, double y) { |