MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / runit_CharacterMatrix_row

Function runit_CharacterMatrix_row

inst/tinytest/cpp/Matrix.cpp:109–115  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

107
108// [[Rcpp::export]]
109std::string runit_CharacterMatrix_row( CharacterMatrix m ){
110 CharacterMatrix::Row first_row = m.row(0) ;
111 std::string res(
112 std::accumulate(
113 first_row.begin(), first_row.end(), std::string() ) ) ;
114 return res ;
115}
116
117// [[Rcpp::export]]
118std::string runit_CharacterMatrix_row_const( const CharacterMatrix m ){

Callers

nothing calls this directly

Calls 3

rowMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected