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

Method SelfMatch

inst/include/Rcpp/sugar/functions/self_match.h:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 typedef typename Rcpp::traits::storage_type<RTYPE>::type STORAGE ;
53
54 SelfMatch( const TABLE_T& table ): hash(), result(table.size()) {
55 std::transform( table.begin(), table.end(), result.begin(), Inserter(hash) ) ;
56 }
57
58 inline operator IntegerVector() const { return result ; }
59

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected