[[Rcpp::export]]
| 147 | |
| 148 | // [[Rcpp::export]] |
| 149 | double runit_NumericMatrix_column( NumericMatrix m ){ |
| 150 | NumericMatrix::Column col = m.column(0) ; |
| 151 | return std::accumulate( col.begin(), col.end(), 0.0 ) ; |
| 152 | } |
| 153 | |
| 154 | // [[Rcpp::export]] |
| 155 | double runit_NumericMatrix_column_const( const NumericMatrix m ){ |