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

Function runit_CharacterMatrix_row_const

inst/tinytest/cpp/Matrix.cpp:118–124  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

116
117// [[Rcpp::export]]
118std::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]]
127IntegerVector runit_GenericMatrix_row( GenericMatrix m ){

Callers

nothing calls this directly

Calls 3

rowMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected