[[Rcpp::export]]
| 116 | |
| 117 | // [[Rcpp::export]] |
| 118 | std::string runit_CharacterMatrix_row_const( const CharacterMatrix m ){ |
| 119 | CharacterMatrix::ConstRow first_row = m.row(0) ; |
| 120 | std::string res( |
| 121 | std::accumulate( |
| 122 | first_row.begin(), first_row.end(), std::string() ) ) ; |
| 123 | return res ; |
| 124 | } |
| 125 | |
| 126 | // [[Rcpp::export]] |
| 127 | IntegerVector runit_GenericMatrix_row( GenericMatrix m ){ |