[[Rcpp::export]]
| 95 | |
| 96 | // [[Rcpp::export]] |
| 97 | double runit_NumericMatrix_row( NumericMatrix m){ |
| 98 | NumericMatrix::Row first_row = m.row(0) ; |
| 99 | return std::accumulate( first_row.begin(), first_row.end(), 0.0 ) ; |
| 100 | } |
| 101 | |
| 102 | // [[Rcpp::export]] |
| 103 | double runit_NumericMatrix_row_const( const NumericMatrix m){ |