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

Method lookup

inst/include/Rcpp/hash/IndexHash.h:93–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92 template <typename T>
93 inline SEXP lookup(const T& vec) const {
94 return lookup__impl(vec, vec.size() ) ;
95 }
96
97 // use the pointers for actual (non sugar expression vectors)
98 inline SEXP lookup(const VECTOR& vec) const {

Callers 1

matchFunction · 0.80

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected